Installation
- pip
- uv
- npm
- yarn
- pnpm
Setup
- Python
- TypeScript
Python
PandaProbe traces both synchronous and asynchronous Python methods, plus the Promise-based TypeScript client.
Chat API
Span name:"mistral-chat", SpanKind: LLM
Python
TypeScript
- Input:
messageslist, captured directly (Mistral already speaks the universal schema) - Output: assistant message from
choices[0].message - Model name (from the response body)
- Token usage
- Model parameters:
temperature,top_p,max_tokens,random_seed,safe_prompt,response_format,tool_choice,presence_penalty,frequency_penalty,n,stop
Streaming
Python
chat.stream method:
TypeScript
chat.stream and chat.stream_async, plus TypeScript’s chat.stream, are traced with time-to-first-token and reduced output.

