We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running tests on tip-of-tree:
$ go test ./plugins/googleai/ -key ${GOOGLE_GENAI_API_KEY} --- FAIL: TestLive (2.59s) --- FAIL: TestLive/generate (0.31s) googleai_test.go:89: got "Napoleon was the Emperor of **France**.\n", expecting "France" googleai_test.go:95: Empty usage stats ai.GenerationUsage{Custom:map[string]float64(nil), InputAudioFiles:0, InputCharacters:0, InputImages:0, InputTokens:9, InputVideos:0, OutputAudioFiles:0, OutputCharacters:0, OutputImages:0, OutputTokens:0, OutputVideos:0, TotalTokens:9} --- FAIL: TestLive/streaming (1.04s) googleai_test.go:127: Empty usage stats ai.GenerationUsage{Custom:map[string]float64(nil), InputAudioFiles:0, InputCharacters:0, InputImages:0, InputTokens:9, InputVideos:0, OutputAudioFiles:0, OutputCharacters:0, OutputImages:0, OutputTokens:0, OutputVideos:0, TotalTokens:9} FAIL FAIL github.com/firebase/genkit/go/plugins/googleai 2.667s FAIL
The text was updated successfully, but these errors were encountered:
Tests fail non-deterministically:
$ go test ./plugins/googleai/ -key ${GOOGLE_GENAI_API_KEY} --- FAIL: TestLive (2.88s) --- FAIL: TestLive/generate (0.08s) googleai_test.go:84: googleapi: Error 503: --- FAIL: TestLive/streaming (1.04s) googleai_test.go:127: Empty usage stats ai.GenerationUsage{Custom:map[string]float64(nil), InputAudioFiles:0, InputCharacters:0, InputImages:0, InputTokens:9, InputVideos:0, OutputAudioFiles:0, OutputCharacters:0, OutputImages:0, OutputTokens:0, OutputVideos:0, TotalTokens:9} FAIL FAIL github.com/firebase/genkit/go/plugins/googleai 2.955s FAIL
Sorry, something went wrong.
Given that we're getting Error 503, we might want to add a retry with exponential back-off in the tests (and possibly in the core libraries?)
ToolChoice
kwjw
No branches or pull requests
When running tests on tip-of-tree:
The text was updated successfully, but these errors were encountered: