Skip to content
Discussion options

You must be logged in to vote

In AiderDesk, it's currently only possible to set maxTokens (max output tokens) for Agent mode via the Agent profile settings.

If you need a specific settings for Aider, you will probably need to create .aider.model.metadata.json in your project root (or home) with the following content:

{
    "openai/name-of-your-model": {
        "max_tokens": 4096,
        "max_input_tokens": 32000,
        "max_output_tokens": 4096,
        "input_cost_per_token": 0.00000014,
        "output_cost_per_token": 0.00000028,
        "litellm_provider": "openai"
    }
}

Adjust the values based on your model. The more info can be found in Aider's docs.

Adding as much configuration as possible directly into …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@scameronde
Comment options

Answer selected by scameronde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants