pulumi / pulumi-ai

226 stars 16 forks source link

Wrong Azure Native import when using Go #81

Open ringods opened 7 months ago

ringods commented 7 months ago

What happened?

Our AI uses the following Go imports for Azure Native:

"github.com/pulumi/pulumi-azure-native/sdk/go/azure/resources"

while these should point to the v2 SDK in the separate repo:

"github.com/pulumi/pulumi-azure-native-sdk/resources/v2"

Example

https://www.pulumi.com/ai/conversations/b9ed17c8-e103-4d97-bd2d-a75b8ac6378a

Output of pulumi about

N/A

Additional context

No response

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 5 months ago

This was fixed on Feb 21, but it looks like it's not consistent.

@wongstein can you add this to the list of evals for code quality? I think this falls under prompting as we are putting the right content in the prompt, see this generated program with the same prompt:

https://www.pulumi.com/ai/conversations/f5562584-55fc-4399-ba7c-b6c46df5fc8f