Skip to content

Commit

Permalink
fix: correct model names from 'GTP' to 'GPT'
Browse files Browse the repository at this point in the history
  • Loading branch information
zetaloop authored and pionxzh committed Feb 15, 2024
1 parent a59fb47 commit 43f29e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api.ts
Expand Up @@ -388,14 +388,14 @@ export interface ConversationResult {
}

const ModelMapping: { [key in ModelSlug]: string } & { [key: string]: string } = {
'text-davinci-002-render-sha': 'GTP-3.5',
'text-davinci-002-render-paid': 'GTP-3.5',
'text-davinci-002-browse': 'GTP-3.5',
'text-davinci-002-render-sha': 'GPT-3.5',
'text-davinci-002-render-paid': 'GPT-3.5',
'text-davinci-002-browse': 'GPT-3.5',
'gpt-4': 'GPT-4',
'gpt-4-browsing': 'GPT-4 (Browser)',

// fuzzy matching
'text-davinci-002': 'GTP-3.5',
'text-davinci-002': 'GPT-3.5',
}

export function processConversation(conversation: ApiConversationWithId): ConversationResult {
Expand Down

0 comments on commit 43f29e4

Please sign in to comment.