mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 17:38:40 -06:00
feat: function for openai assistant added
This commit is contained in:
parent
df3092b876
commit
6f2971cf24
@ -1406,8 +1406,7 @@ export class OpenaiService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return this.getAIResponse(threadId, runId, functionUrl);
|
||||||
|
|
||||||
case 'queued':
|
case 'queued':
|
||||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||||
return this.getAIResponse(threadId, runId, functionUrl);
|
return this.getAIResponse(threadId, runId, functionUrl);
|
||||||
|
Loading…
Reference in New Issue
Block a user