Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions server/services/llm/perplexity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ llm = PerplexityLLMService(
- Perplexity does not support function calling or tools. The service only sends messages to the API, without tool definitions.
- Perplexity uses incremental token reporting. The service accumulates token usage metrics during processing and reports the final totals at the end of each request.
- Perplexity models have built-in internet search capabilities, providing up-to-date information without requiring additional tool configuration.
- **Message transformation**: Perplexity's API enforces stricter constraints than OpenAI on conversation history structure (strict role alternation, no non-initial system messages, last message must be user/tool). The service automatically transforms messages to satisfy these constraints before sending them to the API, so you don't need to manually structure your conversation history.

<Tip>
The `InputParams` / `params=` pattern is deprecated as of v0.0.105. Use
Expand Down
Loading