fixed injection watcher
This commit is contained in:
@@ -171,6 +171,7 @@ class LLMClient:
|
||||
temperature: float = 0.7,
|
||||
model: str | None = None,
|
||||
for_extraction: bool = False,
|
||||
visible_reply: bool = False,
|
||||
) -> dict[str, Any]:
|
||||
use_tools = bool(tools) and self.tools_enabled and not for_extraction
|
||||
kwargs: dict[str, Any] = {
|
||||
@@ -198,7 +199,7 @@ class LLMClient:
|
||||
reasoning = str(value)
|
||||
break
|
||||
|
||||
if not content and reasoning:
|
||||
if not content and reasoning and not visible_reply:
|
||||
content = reasoning
|
||||
|
||||
result: dict[str, Any] = {
|
||||
|
||||
Reference in New Issue
Block a user