feat(task): add task support (SEP-1686) (#536)
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
parent
eeacd1375f
commit
621c9f619e
1 changed files with 1922 additions and 57 deletions
|
|
@ -47,6 +47,7 @@ impl RigTool for McpToolAdaptor {
|
|||
name: self.tool.name.clone(),
|
||||
arguments: serde_json::from_str(&args)
|
||||
.map_err(rig::tool::ToolError::JsonError)?,
|
||||
task: None,
|
||||
})
|
||||
.await
|
||||
.inspect(|result| tracing::info!(?result))
|
||||
|
|
|
|||
Loading…
Reference in a new issue