pub struct SdkCall {Show 15 fields
pub sdk: Sdk,
pub package: String,
pub chain: String,
pub member: String,
pub request: bool,
pub receiver: Receiver,
pub routing: Routing,
pub client_line: Option<u32>,
pub file: String,
pub span: Span,
pub symbol: Option<String>,
pub kwargs: Vec<String>,
pub positional: u32,
pub splat: bool,
pub values: Vec<CapturedValue>,
}Expand description
A call whose member chain is rooted at a tracked binding.
Fields§
§sdk: Sdk§package: String§chain: StringThe callee as written, arguments elided
(self.client.chat.completions.create).
member: StringThe part after the tracked root (chat.completions.create), with the
response wrappers with_raw_response / with_streaming_response and
client copies (with_options(...), copy(...)) removed.
request: boolWhether the call sends a request to the provider: its last member is
a request method (create, stream, generate_content,
send_message…). false for SDK helpers and types
(genai.configure, GenerativeModel(...), types.Part(...),
ChatCompletion(...) built from openai.types). A name heuristic.
receiver: Receiver§routing: Routing§client_line: Option<u32>Line of the same-file construction the receiver came from, if known.
file: String§span: Span§symbol: Option<String>§kwargs: Vec<String>Argument names in source order: Python keyword arguments, or the
properties of the options object in a language whose SDK methods
take one (TypeScript create({ model, messages })).
positional: u32Number of positional arguments, the options object excluded.
splat: boolWhether arguments were spread into the call (**kwargs; TypeScript
...opts in the options object).
values: Vec<CapturedValue>Values for allowlisted keys that resolved to string literals.