Skip to content

Latest commit

 

History

History
77 lines (55 loc) · 1.95 KB

mistral.md

File metadata and controls

77 lines (55 loc) · 1.95 KB

📌 Important Note

Before configuring, please review:

Example Configuration

Basic Setup

aicommit2 config set MISTRAL.key="your-api-key"
aicommit2 config set MISTRAL.model="codestral-latest"

Advanced Setup

aicommit2 config set MISTRAL.key="your-api-key" \
  MISTRAL.model="codestral-latest" \
  MISTRAL.temperature=0.7 \
  MISTRAL.maxTokens=4000 \
  MISTRAL.locale="en" \
  MISTRAL.generate=3 \
  MISTRAL.topP=0.9

Mistral Settings

Setting Description Default
key API key -
model Model to use pixtral-12b-2409

Mistral Configuration

MISTRAL.key

The Mistral API key. If you don't have one, please sign up and subscribe in Mistral Console.

MISTRAL.model

Default: pixtral-12b-2409

Supported:

  • codestral-latest
  • mistral-large-latest
  • pixtral-large-latest
  • ministral-8b-latest
  • mistral-small-latest
  • mistral-embed
  • mistral-moderation-latest

Codestral Settings

Setting Description Default
key API key -
model Model to use codestral-latest

Codestral Configuration

CODESTRAL.key

The Codestral API key. If you don't have one, please sign up and subscribe in Mistral Console.

CODESTRAL.model

Default: codestral-latest

Supported:

  • codestral-latest
  • codestral-2501
aicommit2 config set CODESTRAL.model="codestral-2501"