mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-13 16:04:05 +09:00
Added custom LLaMa3 models
This commit is contained in:
@@ -88,6 +88,13 @@ const gpt4128kpreview = {
|
||||
max: 131072 // 128k max token buffer
|
||||
}
|
||||
|
||||
const llama3 = {
|
||||
...chatModelBase,
|
||||
prompt: 0.00003,
|
||||
completion: 0.00006,
|
||||
max: 8192
|
||||
}
|
||||
|
||||
export const chatModels : Record<string, ModelDetail> = {
|
||||
'gpt-3.5-turbo': { ...gpt3516k },
|
||||
'gpt-3.5-turbo-0301': { ...gpt35 },
|
||||
@@ -104,7 +111,9 @@ export const chatModels : Record<string, ModelDetail> = {
|
||||
'gpt-4-0125-preview': { ...gpt4128kpreview },
|
||||
'gpt-4-32k': { ...gpt432k },
|
||||
'gpt-4-32k-0314': { ...gpt432k },
|
||||
'gpt-4-32k-0613': { ...gpt432k }
|
||||
'llama3-70b-8192': { ...llama3 },
|
||||
'llama3-8b-8192': { ...llama3 },
|
||||
'@cf/meta/llama-3-8b-instruct': { ...llama3 }
|
||||
}
|
||||
|
||||
const imageModelBase = {
|
||||
|
||||
Reference in New Issue
Block a user