fix(agent): block non-pdf assets in read_pdf_pages and remove mediaType fallback in AgentChatPromptBuilder

This commit is contained in:
yiling
2026-07-20 11:01:22 +08:00
parent fea153e94f
commit 4ad0df5876
3 changed files with 35 additions and 2 deletions
@@ -76,7 +76,7 @@ export class AgentChatPromptBuilder {
}
build(): string {
const effectiveType = this.proxyType || this.mediaType
const effectiveType = this.proxyType
if (this.isContinuation) {
let instruction = ''