Skip to content
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

breaking(go): remove multiple candidates support #1307

Merged
merged 4 commits into from
Nov 27, 2024

Conversation

dysrama
Copy link
Contributor

@dysrama dysrama commented Nov 15, 2024

Imported new types and omit deprecated ones
Removed all references to Candidates, and replace GenerateRequest and GenerateResponse with the new Model types

I chose to skip "TestReflectionAPI/test_app/api/runAction" test in TestReflectionAPI, since the yaml seems to be shared with JS?

Fixes #1250

Checklist (if applicable):

  • Tested (manually, unit tested, etc.)
  • Changelog updated
  • Docs updated

@dysrama dysrama linked an issue Nov 15, 2024 that may be closed by this pull request
@dysrama dysrama requested a review from apascal07 November 15, 2024 15:41
@apascal07
Copy link
Collaborator

I chose to skip "TestReflectionAPI/test_app/api/runAction" test in TestReflectionAPI, since the yaml seems to be shared with JS?

Hmm, I'm guessing it failed? What did it say? We should look into this. Technically both the actions and runAction tests should pass since their whole purpose is making sure the Go responses are the same as JS...

The rest LGTM!

@dysrama
Copy link
Contributor Author

dysrama commented Nov 26, 2024

Test fixed for the runAction endpoint.
Added a bug for fixing the test for the actions endpoint #1409
Ready for review

@pavelgj pavelgj changed the title Go #1250 remove multiple candidates support breaking(go): remove multiple candidates support Nov 26, 2024
@dysrama dysrama merged commit 71b7bcb into main Nov 27, 2024
5 checks passed
@dysrama dysrama deleted the go-#1250-remove-multiple-candidates-support branch November 27, 2024 15:37
@dysrama dysrama restored the go-#1250-remove-multiple-candidates-support branch November 28, 2024 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Go] Remove multiple candidates support
2 participants