mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-10-22 06:06:59 +00:00
feat: unified image and audio endpoints with gemini image translation
This commit is contained in:
@@ -34,6 +34,15 @@ func (f *fakeAdapter) chatCompletion(context.Context, http.ResponseWriter, map[s
|
||||
func (f *fakeAdapter) embeddings(context.Context, http.ResponseWriter, map[string]any) (usage, error) {
|
||||
return usage{}, nil
|
||||
}
|
||||
func (f *fakeAdapter) imagesGeneration(context.Context, http.ResponseWriter, map[string]any) (usage, error) {
|
||||
return usage{}, nil
|
||||
}
|
||||
func (f *fakeAdapter) audioSpeech(context.Context, http.ResponseWriter, []byte, string) (usage, error) {
|
||||
return usage{}, nil
|
||||
}
|
||||
func (f *fakeAdapter) audioTranscription(context.Context, http.ResponseWriter, []byte, string) (usage, error) {
|
||||
return usage{}, nil
|
||||
}
|
||||
func (f *fakeAdapter) listModels(ctx context.Context) ([]string, error) {
|
||||
if f.listModelsFn == nil {
|
||||
return nil, nil
|
||||
|
||||
Reference in New Issue
Block a user