add gpl license
improve mcp server error handling
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
name = "own_mcp"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
license = "GPL-3"
|
||||
|
||||
[dependencies]
|
||||
ollama-rs = {version = "0.3.4", features = ["macros", "headers"]}
|
||||
|
||||
@@ -200,6 +200,7 @@ impl AgentChat {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// TODO: ChatMessage only returns last tool usage, which is always empty. instead the tool usages should be collected and returned in total
|
||||
pub async fn message<C: Future<Output = PermissionAnswer>>(
|
||||
&mut self,
|
||||
user_message: String,
|
||||
|
||||
Reference in New Issue
Block a user