Skip to content

Can't process commas inside --var parameters #84

@miromasat

Description

@miromasat

It so seems that gh models has an issue working with commas (and possibly other special) when passing these as --var parameters.

example of successful call:
gh models run --file travel.prompt.yml --var city="paris and milan"

example of failed call:
gh models run --file travel.prompt.yml --var city="paris, milan"

Also attached as screenshot below.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions