Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@igobypenn
Copy link

Implement comprehensive compatibility with Anthropic's Messages API and Models API, including streaming, non-streaming, tool use, system prompts, and model discovery.

  • Full request/response type conversion with Anthropic format

  • System prompts (string and array formats)

  • Multi-turn conversations with conversation history

  • Tool use and tool results with full support

  • SSE streaming with Anthropic-specific event types (6 event types)

  • Tool choice: auto, any, or specific

  • All inference parameters (temperature, top_p, top_k, stop_sequences)

  • TensorZero-specific parameters (tags, episode_id, variant_name, etc.)

  • Model discovery endpoint returning all configured models

  • Function models (tensorzero::function_name::{name})

  • Provider models (tensorzero::model_name::{name})

  • Filters functions without variants, sorted alphabetically

Aligned with Anthropic API specifications:

Implement comprehensive compatibility with Anthropic's Messages API and Models API,
including streaming, non-streaming, tool use, system prompts, and model discovery.

- Full request/response type conversion with Anthropic format
- System prompts (string and array formats)
- Multi-turn conversations with conversation history
- Tool use and tool results with full support
- SSE streaming with Anthropic-specific event types (6 event types)
- Tool choice: auto, any, or specific
- All inference parameters (temperature, top_p, top_k, stop_sequences)
- TensorZero-specific parameters (tags, episode_id, variant_name, etc.)

- Model discovery endpoint returning all configured models
- Function models (tensorzero::function_name::{name})
- Provider models (tensorzero::model_name::{name})
- Filters functions without variants, sorted alphabetically

Aligned with Anthropic API specifications:
- Messages API: https://docs.anthropic.com/en/api/messages
- Models API: https://docs.anthropic.com/en/api/models
@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@igobypenn
Copy link
Author

I have read the Contributor License Agreement (CLA) and hereby sign the CLA.

github-actions bot added a commit that referenced this pull request Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant