litellm/tests/unit/llms/perplexity/responses
ryan-crabbe-berri 2c8265f4a1
fix(perplexity): accept function tools on chat completions for Agent API models (#53952)
* fix(perplexity): accept function tools on chat completions for Agent API models

Chat requests to Perplexity Agent API models now accept tools, tool_choice and
parallel_tool_calls when the cost map marks the model as function calling, and
the Responses config accepts tool_choice and parallel_tool_calls. Sonar models
keep rejecting tools.

* fix(perplexity): type the supported param lists so the type gate stays flat
2026-11-23 19:01:33 -08:00
..
__init__.py
test_perplexity_responses_transformation.py fix(perplexity): accept function tools on chat completions for Agent API models (#53952) 2026-11-23 19:01:33 -08:00