feat: Removed the server functionality
This commit is contained in:
@@ -56,7 +56,6 @@ impl SseHandler {
|
||||
}
|
||||
|
||||
pub fn tool_call(&mut self, call: ToolCall) -> Result<()> {
|
||||
// debug!("HandleCall: {:?}", call);
|
||||
self.tool_calls.push(call);
|
||||
Ok(())
|
||||
}
|
||||
@@ -65,10 +64,6 @@ impl SseHandler {
|
||||
self.abort_signal.clone()
|
||||
}
|
||||
|
||||
pub fn tool_calls(&self) -> &[ToolCall] {
|
||||
&self.tool_calls
|
||||
}
|
||||
|
||||
pub fn take(self) -> (String, Vec<ToolCall>) {
|
||||
let Self {
|
||||
buffer, tool_calls, ..
|
||||
|
||||
Reference in New Issue
Block a user