provider ... from openai for OpenAI-compatible HTTP APIs.
The provider endpoint must support the /responses API.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Configure OpenAI-compatible providers that support the /responses API.
provider ... from openai for OpenAI-compatible HTTP APIs.
The provider endpoint must support the /responses API.
secrets {
api_key: string
}
provider llm from openai {
endpoint: "https://api.openai.com/v1"
api_key: secrets.api_key
}
model fast from llm {
id: "gpt-4.1-mini"
}
provider llm from openai {
endpoint: "https://dashscope.aliyuncs.com/compatible-mode/v1"
api_key: secrets.api_key
}
model fast from llm {
id: "qwen3.6-plus"
}
agent reply {
model: model.fast
instruction: "Reply to {{ input.message }}."
output {
message: string
}
}
Was this page helpful?