-
Notifications
You must be signed in to change notification settings - Fork 2
feat(gemini): Phase 6 -- list models + remote discovery #1598
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Part of #1592
Scope
Implement GET /v1beta/models for model listing and integration with TUI model picker.
Files to Modify
crates/zeph-llm/src/gemini.rs-- implementlist_models_remote()crates/zeph-llm/src/any.rs-- addAnyProvider::Geminiarm tolist_models_remote()match
Key Implementation Details
- Endpoint:
GET /v1beta/models?key={API_KEY} - Response contains model list with
name,displayName,inputTokenLimit,outputTokenLimit - Map to
RemoteModelInfo { id, display_name, context_window, created_at } - Filter to generative models only (exclude embedding-only models from chat list)
Acceptance Criteria
-
list_models_remote()returns available Gemini models - Context window populated from
inputTokenLimit - Display name populated from API response
- Model cache integration works
- Unit tests with wiremock
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request