Catalogue-added Google provider fails until base_url is set by hand #1849

Closed
opened 2026-11-10 08:06:58 +00:00 by sam · 1 comment
Owner

Adding the Google provider from the models catalogue sets class gemini-interactions, but classBaseURL in internal/infrastructure/egress/modelproxy.go has an entry for gemini only. Every agent run on that provider fails before sending a request: provider class "gemini-interactions" needs a base_url. Task 457 retried into this five times and went dead.

Setting base_url by hand works only as the bare host, because the SDK appends /v1beta/interactions; pasting the documented endpoint doubles the path and returns 404 (seen in chat on 2026-11-10).

Done when a Google provider added from the catalogue runs with no base_url set.

Adding the Google provider from the models catalogue sets class `gemini-interactions`, but `classBaseURL` in `internal/infrastructure/egress/modelproxy.go` has an entry for `gemini` only. Every agent run on that provider fails before sending a request: `provider class "gemini-interactions" needs a base_url`. Task 457 retried into this five times and went dead. Setting base_url by hand works only as the bare host, because the SDK appends `/v1beta/interactions`; pasting the documented endpoint doubles the path and returns 404 (seen in chat on 2026-11-10). Done when a Google provider added from the catalogue runs with no base_url set.
sam added the bug label 2026-11-12 15:52:54 +00:00
Author
Owner

Already fixed on main by cc49fecc (fix(egress): default base URL for the gemini-interactions provider class, #457): classBaseURL in internal/infrastructure/egress/modelproxy.go now maps gemini-interactions to the bare https://generativelanguage.googleapis.com host, so ProviderHost resolves it with no base_url set (both callers, model_egress.go and openshell_model_egress.go, go through it). Verified by reading the tree at origin/main; no further change needed, so no new commit.

Already fixed on main by cc49fecc (fix(egress): default base URL for the gemini-interactions provider class, #457): classBaseURL in internal/infrastructure/egress/modelproxy.go now maps gemini-interactions to the bare https://generativelanguage.googleapis.com host, so ProviderHost resolves it with no base_url set (both callers, model_egress.go and openshell_model_egress.go, go through it). Verified by reading the tree at origin/main; no further change needed, so no new commit.
sam closed this issue 2026-11-13 16:45:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1849