mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
agiAttachmentPrompts: lower requirement to 1
This commit is contained in:
@@ -25,7 +25,7 @@ export async function agiAttachmentPrompts(attachmentFragments: DMessageAttachme
|
||||
// const docParts = attachmentFragments.filter(f => f.part.pt === 'doc').map(f => f.part) as DMessageDocPart[];
|
||||
// const docs_count = docParts.length;
|
||||
const docs_count = attachmentFragments.length;
|
||||
if (!llmId || docs_count < 2)
|
||||
if (!llmId || docs_count < 1)
|
||||
return [];
|
||||
|
||||
const num_suggestions = 3;
|
||||
|
||||
Reference in New Issue
Block a user