armanunix
armanunix
### Your current environment The output of python collect_env.py ```text Collecting environment information... ============================== System Info ============================== OS : Ubuntu 22.04.5 LTS (x86_64) GCC version : (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 Clang...
### Your current environment The output of python collect_env.py ```text Collecting environment information... ============================== System Info ============================== OS : Ubuntu 22.04.5 LTS (x86_64) GCC version : (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 Clang...
### Description With `logfire.instrument_openai()` / `logfire.instrument_anthropic()`, a non-streamed call records `gen_ai.response.id` and `gen_ai.response.finish_reasons`, but the same call with `stream=True` records neither, on either of its two spans (the request span...
### Description With `logfire.instrument_openai()`, a call made through `client.chat.completions.with_streaming_response.create(...)` gets a span, but the span records nothing of the response: no `gen_ai.output.messages`, `gen_ai.response.id`, `gen_ai.response.finish_reasons` or `gen_ai.usage.*`, although the app receives...
### Description ### Description The Anthropic SDK accepts `messages` as any iterable. When `messages` is a generator and the client is instrumented with `logfire.instrument_anthropic`, Logfire reads the messages from the...
**Describe the bug** `google.genai` accepts `contents` as a tuple: its pydantic request model (`_GenerateContentParameters`) turns it into a list, and the request is sent normally. The OpenInference google-genai instrumentation calls...
**Describe the bug** When the application stops a streamed Anthropic response partway (here: breaking out of `client.messages.stream(...)` in the middle of a `tool_use` block), the span records the Anthropic SDK's...
### Which component is this bug for? OpenAI Instrumentation ### 📜 Description When an application reads part of a streamed chat completion and then calls `stream.close()` (sync) or `await stream.close()`...
### Which component is this bug for? Anthropic instrumentation ### 📜 Description When a streamed Anthropic response is not read to the end, the LLM span is **never ended and...
### Which component is this bug for? OpenAI Instrumentation ### 📜 Description The OpenAI SDK accepts `messages` and `tools` as any iterable, including generators and `map()` objects, and sends them...