refactor: remove agent mode and related functionality; update help and README

This commit is contained in:
asepharyana
2026-07-12 03:22:55 +07:00
parent df5775a272
commit 3cfe39e5f2
15 changed files with 8 additions and 144 deletions
-14
View File
@@ -42,20 +42,6 @@ impl LlmClient {
}
}
pub fn chat(&self, messages: &[ChatMessage]) -> Result<String> {
let response = self.chat_with_tools(messages, None)?;
Ok(response.content.unwrap_or_default())
}
pub fn chat_with_tools(
&self,
messages: &[ChatMessage],
tools: Option<Vec<ToolDef>>,
) -> Result<ChatMessage> {
let (msg, _usage) = self.chat_with_tools_non_streaming(messages, tools)?;
Ok(msg)
}
pub fn chat_with_tools_non_streaming(
&self,
messages: &[ChatMessage],