mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2026-01-12 00:05:41 +00:00
Compare commits
3 Commits
canary
...
55a4b9d436
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55a4b9d436 | ||
|
|
b450d0e668 | ||
|
|
fdaa2f0646 |
@@ -61,6 +61,22 @@ const defaultChatModels: Model[] = [
|
||||
name: 'GPT 5 Mini',
|
||||
key: 'gpt-5-mini',
|
||||
},
|
||||
{
|
||||
name: 'GPT 5 Pro',
|
||||
key: 'gpt-5-pro',
|
||||
},
|
||||
{
|
||||
name: 'GPT 5.1',
|
||||
key: 'gpt-5.1',
|
||||
},
|
||||
{
|
||||
name: 'GPT 5.2',
|
||||
key: 'gpt-5.2',
|
||||
},
|
||||
{
|
||||
name: 'GPT 5.2 Pro',
|
||||
key: 'gpt-5.2-pro',
|
||||
},
|
||||
{
|
||||
name: 'o1',
|
||||
key: 'o1',
|
||||
|
||||
@@ -167,7 +167,7 @@ class OpenAILLM extends BaseLLM<OpenAIConfig> {
|
||||
contentChunk: chunk.choices[0].delta.content || '',
|
||||
toolCallChunk:
|
||||
toolCalls?.map((tc) => {
|
||||
if (tc.type === 'function') {
|
||||
if (!recievedToolCalls[tc.index]) {
|
||||
const call = {
|
||||
name: tc.function?.name!,
|
||||
id: tc.id!,
|
||||
|
||||
Reference in New Issue
Block a user