fix lint
This commit is contained in:
parent
7824bc715f
commit
e60a687387
1 changed files with 2 additions and 1 deletions
|
|
@ -2594,7 +2594,8 @@ func (p *visionUnsupportedMediaProvider) Chat(
|
||||||
p.mediaSeen = append(p.mediaSeen, hasMedia)
|
p.mediaSeen = append(p.mediaSeen, hasMedia)
|
||||||
|
|
||||||
if hasMedia {
|
if hasMedia {
|
||||||
return nil, fmt.Errorf("API request failed: Status: 404 Body: {\"error\":{\"message\":\"No endpoints found that support image input\"}}")
|
return nil, fmt.Errorf("API request failed: " +
|
||||||
|
"Status: 404 Body: {\"error\":{\"message\":\"No endpoints found that support image input\"}}")
|
||||||
}
|
}
|
||||||
|
|
||||||
return &providers.LLMResponse{
|
return &providers.LLMResponse{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue