Pratyush Shukla

Results 96 comments of Pratyush Shukla

I think this is possible to track using OpenRouter API via the OpenAI SDK.

From the docstring in the [`Completions.create`](https://github.com/anthropics/anthropic-sdk-python/blob/fb3af99339092187d6a445df38aa016fd1a19f8d/src/anthropic/resources/completions.py#L53) method located in the [anthropic-idk-python](https://github.com/anthropics/anthropic-sdk-python/tree/main) repository: ```python """[Legacy] Create a Text Completion. The Text Completions API is a legacy API. We recommend using the...

This is on the `develop` branch, where `main` hasn't been merged yet (#6875). That's why it's still showing `4.3.3`.

I have create a `TraceState` enum in #1015 which has 3 `StatusCode` from OpenTelemetry mapped to strings. I think having `agentops.set_state()` would be a better UX.