A custom base URL is not, by itself, a routing test. CrewAI’s versioned LLM documentation distinguishes native provider integrations from LiteLLM-backed integrations and shows a Custom OpenAI-Compatible Endpoint example using custom_openai=True with a gateway URL and an anthropic/claude-sonnet-4-6 model string. Treat that flag and the model prefix as part of the provider-dispatch decision, not as incidental syntax.
That matters when adapting CometAPI’s CrewAI tutorial. The official CometAPI guide’s helper passes a model_id, COMETAPI_BASE_URL, and COMETAPI_KEY to CrewAI’s LLM, and its installation guidance says to pin versions tested for production. The practical adaptation is to pin the CrewAI version used by your integration, use a separately verified CometAPI model ID and base URL, and evaluate the current custom OpenAI-compatible configuration rather than assuming that the URL alone selects CometAPI.
Before a multi-agent run, make the smallest possible check:
- Build one
LLMwith the pinned CrewAI version, the intended CometAPI base URL, a server-side key, the verified model ID, and the documented custom-endpoint setting where applicable. - Make one minimal request.
- Inspect the selected provider implementation and a sanitized destination or request trace to confirm that the call took the intended CometAPI route.
- Separately test any required tool calling, structured output, streaming, or cross-model behavior; one successful completion does not prove those features.
This is a dispatch verification procedure, not a claim that every model prefix or CrewAI release behaves the same way. The CrewAI documentation is the version-matched primary reference; the CometAPI tutorial supplies the gateway parameters and version-pinning context. Recheck both when upgrading.
Sources: CrewAI LLM documentation · CometAPI CrewAI guide