8000 fix: filter chat model discovery by endpoint capability by Fodesu · Pull Request #119 · felinics/twilight · GitHub
[go: up one dir, main page]

Skip to content
8000

fix: filter chat model discovery by endpoint capability - #119

Merged
Fodesu merged 1 commit into
mainfrom
fix/chat-model-list-filtering
Oct 13, 2026
Merged

Fodesu merged 1 commit into
mainfrom
fix/chat-model-list-filtering

Conversation

@Fodesu
@Fodesu Fodesu commented Oct 13, 2026
Copy link
Copy Markdown
Member

Summary

  • return only Google models that explicitly support generateContent
  • share conservative OpenAI-compatible model filtering across Chat Completions and Responses
  • honor explicit capability, endpoint, and output-modality metadata when available
  • exclude known embedding, speech, image, video, moderation, realtime, legacy Completions, and Responses-only model families
  • document the model discovery behavior and add provider/schema regression coverage

Tests

  • go test ./...

@Fodesu
Fodesu force-pushed the fix/chat-model-list-filtering branch from 2b0d657 to 12f8ab3 Compare October 13, 2026 11:52
@Fodesu
Fodesu merged commit 55a0ab1 into main Oct 13, 2026
4 checks passed
Fodesu added a commit that referenced this pull request Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0