1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-09-09 09:19:54 +00:00
This commit is contained in:
Laura
2025-08-15 03:38:24 +02:00
parent 3adaa69bc0
commit 75a9d893c3
5 changed files with 115 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ type Model struct {
Tags []string `json:"tags,omitempty"`
Reasoning bool `json:"-"`
Vision bool `json:"-"`
JSON bool `json:"-"`
Tools bool `json:"-"`
}
@@ -78,6 +79,8 @@ func GetModelTags(model openrouter.Model, m *Model) {
for _, modality := range model.Architecture.InputModalities {
if modality == "image" {
m.Vision = true
m.Tags = append(m.Tags, "vision")
}
}