fix: increase image limit of copilot (#7756)

fix AF-1080 AF-1154
This commit is contained in:
darkskygit
2024-08-06 09:15:40 +00:00
parent d0f1bb24fd
commit 5872b884a5
5 changed files with 18 additions and 9 deletions

View File

@@ -233,6 +233,7 @@ export class OpenAIProvider
options: CopilotChatOptions = {}
): AsyncIterable<string> {
this.checkParams({ messages, model, options });
try {
const result = await this.instance.chat.completions.create(
{