pulumi / pulumi-ai

223 stars 16 forks source link

SyntaxError: Expected ',' or '}' after property value in JSON at position 98 (line 1 column 99) #61

Closed rpressiani closed 2 months ago

rpressiani commented 10 months ago

What happened?

Welcome to Pulumi AI.

Your stack: https://app.pulumi.com/rpressiani/pulumi-ai/dev/resources

What cloud infrastructure do you want to build today?

> an aws s3 bucket
error: SyntaxError: Expected ',' or '}' after property value in JSON at position 98 (line 1 column 99)

Thinking..   t the name of the bucket exports.bucketName = bucket.id; ```

Example

Can be reproduced running pulumi-ai CLI (npx pulumi-ai)

Output of pulumi about

CLI Version 3.92.0 Go Version go1.21.3 Go Compiler gc

Plugins NAME VERSION nodejs unknown

Host OS darwin Version 13.3.1 Arch x86_64

Additional context

Started showing this issue today, I was able to run through steps like this before. After submitting the prompt it remains stuck without creating the resource.

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

AaronFriel commented 10 months ago

I expect this issue is transient, but we should keep an eye on this for when the GPT-4-Turbo model is generally available, as it supposedly is much more reliable at emitting valid JSON.

AaronFriel commented 10 months ago

Thanks for reporting - @rpressiani have you seen this issue re-occur?