fix: TOOL_EXEC uses correct MessageType constant from botlib, not enums

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-13 18:43:14 -03:00
parent 87df733db0
commit c9fa057203

View file

@ -1,6 +1,6 @@
/// Generic tool executor for LLM tool calls
/// Works across all LLM providers (GLM, OpenAI, Claude, etc.)
use log::{error, info, trace, warn};
use log::{error, info};
use serde_json::Value;
use std::fs::OpenOptions;
use std::io::Write;