Generate completions using agent configuration by agent name. The prompt version FQN is automatically resolved from the agent configuration, and all prompt messages are used (not just system messages).
Documentation Index
Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The name of the agent to use for configuration
Chat parameters. The prompt version FQN is automatically resolved from the agent configuration. prompt_variables can be provided to hydrate the prompt template.
A list of messages comprising the conversation history
Whether to stream responses
Maximum number of iterations to perform with tool calls. Must be a positive integer. Defaults to 5.
0 < x <= 50Key-value pairs of variables to substitute in the prompt template.