MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / with_id

Method with_id

core/src/llm/response.rs:65–68  ·  view source on GitHub ↗

Set response ID

(mut self, id: String)

Source from the content-addressed store, hash-verified

63
64 /// Set response ID
65 pub fn with_id(mut self, id: String) -> Self {
66 self.id = Some(id);
67 self
68 }
69
70 /// Check if the response contains tool calls
71 pub fn has_tool_calls(&self) -> bool {

Callers 15

parse_responseMethod · 0.45
parse_responseMethod · 0.45
parse_responseMethod · 0.45
streamMethod · 0.45
parse_responseMethod · 0.45
streamMethod · 0.45
parse_responseMethod · 0.45
streamMethod · 0.45
parse_responseMethod · 0.45
parse_responseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected