Problem
Multiline prompts are not being accepted by Invoke-QwenTask (and potentially other cmdlets like Invoke-QwenAgent).
Example
When trying to pass a multiline prompt using here-string syntax:
$prompt1 = @"
This is a multiline
prompt that should
work properly
"@
Invoke-QwenTask -Prompt $prompt1
The cmdlet fails to process the multiline input correctly.
Expected Behavior
Multiline prompts should be accepted and processed correctly, preserving line breaks and formatting.
Actual Behavior
The multiline prompt is either rejected or not processed as expected.
Environment
Problem
Multiline prompts are not being accepted by
Invoke-QwenTask(and potentially other cmdlets likeInvoke-QwenAgent).Example
When trying to pass a multiline prompt using here-string syntax:
The cmdlet fails to process the multiline input correctly.
Expected Behavior
Multiline prompts should be accepted and processed correctly, preserving line breaks and formatting.
Actual Behavior
The multiline prompt is either rejected or not processed as expected.
Environment