Skip to content

Commit

Permalink
GPT-4o support
Browse files Browse the repository at this point in the history
  • Loading branch information
nbonamy committed May 13, 2024
1 parent 39f4704 commit 551019d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ To use Internet search you need a [Tavily API key](https://app.tavily.com/home).

## DONE

- [x] GPT-4o support
- [x] Different default engine/model for commands
- [x] Text attachments (TXT, PDF, DOCX, PPTX, XLSX)
- [x] MistralAI function calling
Expand Down
2 changes: 1 addition & 1 deletion src/services/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class extends LlmEngine {
}

getVisionModels(): string[] {
return ['gpt-4-turbo', 'gpt-4-vision', 'gpt-4-vision-preview', '*vision']
return [/*'*4o*', */ 'gpt-4-turbo', 'gpt-4-vision', '*vision*']
}

isVisionModel(model: string): boolean {
Expand Down

0 comments on commit 551019d

Please sign in to comment.