debug: rag-chat 日志增加 kbId
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 42s
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 42s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
07f2786ab9
commit
55221116b7
@ -52,6 +52,7 @@ export class RagChatService {
|
||||
});
|
||||
|
||||
// Retrieve knowledge base context
|
||||
this.logger.log(`RAG: kbId=${session.knowledgeBaseId}, content preview: ${content.substring(0, 30)}`);
|
||||
const context = await this.loadContext(session.knowledgeBaseId);
|
||||
this.logger.log(`RAG context: isEmpty=${context.isEmpty}, textLen=${context.text.length}, citations=${context.citations.length}, aiGateway=${!!this.aiGateway}`);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user