MCPcopy Create free account
hub / github.com/AI45Lab/Code / with_session_id_header

Method with_session_id_header

core/src/llm/factory.rs:87–90  ·  view source on GitHub ↗
(mut self, header_name: impl Into<String>)

Source from the content-addressed store, hash-verified

85 }
86
87 pub fn with_session_id_header(mut self, header_name: impl Into<String>) -> Self {
88 self.session_id_header = Some(header_name.into());
89 self
90 }
91
92 pub fn with_session_id(mut self, session_id: impl Into<String>) -> Self {
93 self.session_id = Some(session_id.into());

Calls

no outgoing calls