Skip to content

chore: upgrade AI SDKs to latest #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 6, 2025
Merged

chore: upgrade AI SDKs to latest #8

merged 6 commits into from
Jun 6, 2025

Conversation

dannykopping
Copy link
Contributor

@dannykopping dannykopping commented Jun 6, 2025

Closes #2

In addition to upgrade the SDKs and attending to the refactorings they necessitated, this PR:

  • changes the package name to github.com/coder/aisdk-go after it was migrated yesterday
  • adds google_test.go
  • improved resilience of live tests

The tests are not super comprehensive so I don't know what these changes are breaking, but I was able to run the live tests and get real responses from the upstream services which were all parsed correctly.

This might be easier to review commit-by-commit.

Disclaimer: the google test was initially vibe-coded but it was too dumb so I've changed some stuff.

@dannykopping dannykopping requested a review from kylecarbs June 6, 2025 10:07
@dannykopping dannykopping changed the title chore: upgrade SDK libs to latest chore: upgrade AI SDKs to latest Jun 6, 2025
@dannykopping dannykopping merged commit 5a038b9 into main Jun 6, 2025
1 check passed
@dannykopping dannykopping deleted the dk/upgrade-libs branch June 6, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump google.golang.org/genai to >= 1.x
2 participants