- Notifications
You must be signed in to change notification settings - Fork732
Open
Description
Similar to extra body, but for tools. We already support OpenAI.
tensorzero/tensorzero-core/tests/e2e/providers/openai/mod.rs
Lines 2750 to 2763 in1cbea60
| provider_tools:vec![ | |
| ProviderTool{ | |
| scope:ProviderToolScope::Unscoped, | |
| tool: json!({"type":"web_search"}), | |
| }, | |
| // This should get filtered out | |
| ProviderTool{ | |
| scope:ProviderToolScope::ModelProvider{ | |
| model_name:"garbage".to_string(), | |
| model_provider_name:"model".to_string(), | |
| }, | |
| tool: json!({"type":"garbage"}), | |
| }, | |
| ], |
This, for every provider.
We'll test the providers (e.g. Anthropic) where we know the custom tools. We already support this for OpenAI. But we should cover every provider here.