feat: add Azure OpenAI support for VLM models

This commit is contained in:
liweixin
2026-04-07 19:15:32 +08:00
committed by lyingbug
parent 22ec575727
commit 3cfd034eec
3 changed files with 25 additions and 3 deletions
+2
View File
@@ -26,6 +26,8 @@ type Config struct {
APIKey string
ModelID string
InterfaceType string // "ollama" or "openai" (default)
Provider string
Extra map[string]any
}
// NewVLM creates a VLM instance based on the provided configuration.