fix: increase image limit of copilot (#7756)

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

No files matched your search

@@ -18,7 +18,7 @@ import { reportResponse } from '../utils/action-reporter';
import { readBlobAsURL } from '../utils/image';
import type { ChatContextValue, ChatMessage } from './chat-context';
const MaximumImageCount = 8;
const MaximumImageCount = 32;
function getFirstTwoLines(text: string) {
const lines = text.split('\n');