feat(gcp-vertex): add model list with org policy filtering#6393
Merged
jamadeo merged 1 commit intoblock:mainfrom Jan 20, 2026
Merged
feat(gcp-vertex): add model list with org policy filtering#6393jamadeo merged 1 commit intoblock:mainfrom
jamadeo merged 1 commit intoblock:mainfrom
Conversation
3837d5b to
a02717d
Compare
Contributor
Author
|
@jamadeo Hey PTAL. This removes some cruft and makes is easier to select/provide models when configuring gcp_vertex_ai provider. |
jamadeo
approved these changes
Jan 16, 2026
| let mut model_items: Vec<(String, String, &str)> = | ||
| models.iter().map(|m| (m.clone(), m.clone(), "")).collect(); | ||
|
|
||
| if provider_meta.allows_unlisted_models { |
Collaborator
There was a problem hiding this comment.
Maybe we should just always allow this for any provider? Since we now have the ability, we might as well let the user opt to do this
Contributor
Author
There was a problem hiding this comment.
I think most providers expose a model‑listing API (Vertex AI is the exception), so offering an ‘unlisted model’ option for those providers is less useful and can lead to invalid selections and subsequent error when configuring the provider.
- Add static KNOWN_MODELS list for Claude and Gemini models - Filter models by GCP org policy (constraints/vertexai.allowedModels) - Preserve unlisted model entry via allows_unlisted_models flag - Replace ClaudeVersion/GeminiVersion enums with simple string storage Note: Vertex AI does not provide a public REST API to list available foundation/publisher models, hence the static KNOWN_MODELS approach. Signed-off-by: rabi <ramishra@redhat.com>
michaelneale
added a commit
that referenced
this pull request
Jan 21, 2026
* main: increase worker threads for ci (#6614) docs: todo tutorial update (#6613) Added goose doc map md file for goose agent to find relevant doc easily. (#6598) add back goose branding to home (#6617) fix: actually set the working dir for extensions from session (#6612) Multi chat (#6428) Lifei/fixed accumulated token count (#6587) Dont show MCP UI/Apps until tool is approved (#6492) docs: max tokens config (#6596) User configurable templates (#6420) docs: http proxy environment variables (#6594) feat: exclude subagent tool from code_execution filtering (#6531) Fix path for global agent skills (#6591) recipes: add mcp server (#6552) feat(gcp-vertex): add model list with org policy filtering (#6393) chore: encourage extension searching (#6582) blog: mobile apps consolidation and roadmap (#6580) chore: remove unused dependencies in cargo.toml (#6561) resolved all the extensions to load in cli (#6464)
lifeizhou-ap
added a commit
that referenced
this pull request
Jan 22, 2026
* main: (41 commits) chore: tweak release docs (#6571) fix(goose): propagate session_id across providers and MCP (#6584) increase worker threads for ci (#6614) docs: todo tutorial update (#6613) Added goose doc map md file for goose agent to find relevant doc easily. (#6598) add back goose branding to home (#6617) fix: actually set the working dir for extensions from session (#6612) Multi chat (#6428) Lifei/fixed accumulated token count (#6587) Dont show MCP UI/Apps until tool is approved (#6492) docs: max tokens config (#6596) User configurable templates (#6420) docs: http proxy environment variables (#6594) feat: exclude subagent tool from code_execution filtering (#6531) Fix path for global agent skills (#6591) recipes: add mcp server (#6552) feat(gcp-vertex): add model list with org policy filtering (#6393) chore: encourage extension searching (#6582) blog: mobile apps consolidation and roadmap (#6580) chore: remove unused dependencies in cargo.toml (#6561) ...
fbalicchia
pushed a commit
to fbalicchia/goose
that referenced
this pull request
Jan 23, 2026
Signed-off-by: rabi <ramishra@redhat.com> Signed-off-by: fbalicchia <fbalicchia@cuebiq.com>
1 task
raj-subhankar
pushed a commit
to raj-subhankar/goose
that referenced
this pull request
Feb 14, 2026
Signed-off-by: rabi <ramishra@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Note: Vertex AI does not provide a public REST API to list available foundation/publisher models, hence the static KNOWN_MODELS approach.
Type of Change
AI Assistance
Testing
Unit tests and tested with Vertex AI.