Skip to content

Commit 3d47e76

Browse files
RoyLinRoyLin
authored andcommitted
fix: useless format! in agentic_parse (clippy)
1 parent f5ac615 commit 3d47e76

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

core/src/tools/builtin/agentic_parse.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,10 @@ impl Tool for AgenticParseTool {
372372
raw_text.clone()
373373
};
374374

375-
let system = format!(
376-
"You are a document analysis assistant. \
375+
let system = "You are a document analysis assistant. \
377376
The user will provide document content and ask you to extract information from it. \
378377
Answer based solely on the provided content. Be concise."
379-
);
378+
.to_string();
380379

381380
let user_msg = format!(
382381
"Document: `{}`\nParse strategy: {}\n\n\

0 commit comments

Comments
 (0)