fix(teacher): 区分词元预算与传输字节避免短问题被拦截

This commit is contained in:
2026-09-24 11:09:29 +08:00
parent eb3dc85a2f
commit de72b1cd94
10 changed files with 187 additions and 35 deletions

View File

@@ -448,7 +448,8 @@ export class CodingTeacherService {
model.inputLimit,
intent,
structuredReply ? discussionInstructions(topic, discussionContext) : undefined,
scope.projectId !== 'preview'
scope.projectId !== 'preview',
model.measureInput
);
// Reading context and resolving model credentials can yield while a source
// is being deleted. Project consultations must recheck the actual source.