Skip to content
Source
Sign inSign up
TanStack/schemas

Accept OpenCode Go interactions routes so spec sync keeps running #704

Mergedtombeckenhammerged 1 commit intomain from703-opencode-go-gemini-4-argon-lists-an-interactions-api-protocomerged by tombeckenham View on GitHub

Showing 3 changed files with 103 additions and 2 deletions.

x
0 of 3 viewed, 3 left
50 additions and 0 deletionssrc/server/providers/opencode-go-facts.test.tsModified
View file
@@ -111,6 +111,56 @@
​
+ it('reads the live gemini-4-argon interactions route with the model out of the path', () => {
+ // gemini-4-argon is GET https://opencode.ai/inference/go/v1/models on
+ // 2026-11-20. The contributor row is only here to show a shared base
+ // collapses to one interactions path.
+ const routes = goListingRoutes({
+ object: 'list',
+ data: [
+ {
+ id: 'gemini-4-argon',
+ api: {
+ 'generate-content': {
+ base_url: 'https://opencode.ai/inference/go/google/v1beta',
+ sdk: {
+ aisdk: '@ai-sdk/google',
+ opencodeai: '@opencode/ai/providers/google',
+ },
+ capabilities: {
+ tools: { choice: ['auto', 'none', 'required', 'tool'] },
+ },
+ },
+ interactions: {
+ base_url: 'https://opencode.ai/inference/go/google/v1beta/',