feat: better http server support (#199)
* feat: better http server support 1. allow user get extensions in tool call. 2. allow user serve sse service without initialization. * fix: fix document test
This commit is contained in:
parent
c1c4c9a0c9
commit
076dc2c2cd
1 changed files with 95 additions and 96 deletions
|
|
@ -156,7 +156,7 @@ where
|
|||
ClientJsonRpcMessage::request(request, id),
|
||||
)));
|
||||
};
|
||||
let (peer, peer_rx) = Peer::new(id_provider, peer_info.params.clone());
|
||||
let (peer, peer_rx) = Peer::new(id_provider, Some(peer_info.params.clone()));
|
||||
let context = RequestContext {
|
||||
ct: ct.child_token(),
|
||||
id: id.clone(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue