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

Method with_headers

core/src/llm/factory.rs:82–85  ·  view source on GitHub ↗
(mut self, headers: HashMap<String, String>)

Source from the content-addressed store, hash-verified

80 }
81
82 pub fn with_headers(mut self, headers: HashMap<String, String>) -> Self {
83 self.headers = headers;
84 self
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());

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected