LLMIFY THIS MOFO
CI / Test (push) Successful in 46s

This commit is contained in:
2026-09-01 01:36:17 -04:00
parent dad09d1109
commit 034ee026b1
18 changed files with 318 additions and 41 deletions
+14
View File
@@ -0,0 +1,14 @@
package provider
// LlamaSwapProvider represents LlamaSwap's authenticated OpenAI-compatible
// proxy. The concrete model IDs are supplied in config because LlamaSwap can
// route to any model configured by its operator.
type LlamaSwapProvider struct{}
func (p *LlamaSwapProvider) Name() string { return ProviderLlamaSwap }
func (p *LlamaSwapProvider) RequiresAPIKey() bool { return true }
func (p *LlamaSwapProvider) ValidateAPIKey(key string) bool { return key != "" }
func (p *LlamaSwapProvider) APIKeyURL() string { return "" }
func (p *LlamaSwapProvider) IsLocal() bool { return false }
func (p *LlamaSwapProvider) Models() []Model { return nil }
func (p *LlamaSwapProvider) DefaultModel(ModelType) string { return "" }