pulumi / pulumi-ai

226 stars 16 forks source link

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

Closed rpressiani closed 4 months ago

rpressiani commented 1 year 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 1 year 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 1 year ago

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