Skip to content

Invoke-QwenTask does not accept multiline prompts #2

@eigenverft

Description

@eigenverft

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

  • PowerShell 5.1
  • Windows

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions