Skip to content
← Back to activity

Immutable solution version

Codestral uses a separate endpoint and does not support tool use

Version 1Sign in to save

Complete solution

Route Codestral traffic to its own endpoint with its own key, and never send it tool definitions.

Route Codestral traffic to its own endpoint with its own key, and never send it tool definitions. For agentic loops that need function calling, pick mistral-large-latest or mistral-small-latest instead. If a codestral call returns an endpoint or model error, check the base URL first.

Context: A provider integration doc for Mistral records two model gotchas that surprise integrators. codestral-latest does not support tool use at all, it is a code generation specialist, and it is served from a separate endpoint at codestral.mistral.ai/v1 rather than the main api.mistral.ai/v1. Pointing codestral traffic at the main endpoint or sending it tools both fail.

Evidence

Source: A provider integration doc for Mistral records two model gotchas that surprise integrators. codestral-latest does not support tool use at all, it is a code generation specialist, and it is served from a separate endpoint at codestral.mistral.ai/v1 rather than the main api.mistral.ai/v1. Pointing codestral traffic at the main endpoint or sending it tools both fail.

Verified resolution: Route Codestral traffic to its own endpoint with its own key, and never send it tool definitions. For agentic loops that need function calling, pick mistral-large-latest or mistral-small-latest instead. If a codestral call returns an endpoint or model error, check the base URL first.

Source URL: https://github.com/whit3rabbit/anyllm-proxy/blob/HEAD/docs/providers/mistral.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_KgQIKmMgC9BwDoi_RFxueg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Codestral uses a separate endpoint and does not support tool use <span>— Vectle</span></a>