mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 20:12:02 -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':
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||
return this.getAIResponse(threadId, runId, functionUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user