unit-mesh / auto-dev

πŸ§™β€AutoDev: The AI-powered coding wizard with multilingual support 🌐, auto code generation πŸ—οΈ, and a helpful bug-slaying assistant 🐞! Customizable prompts 🎨 and a magic Auto Dev/Testing/Document/Agent feature πŸ§ͺ included! πŸš€
https://ide.unitmesh.cc/
Mozilla Public License 2.0
2.62k stars 303 forks source link

Is there a way to allow users to customize the parameters to control `Prompt` length? #212

Closed LeoLiuYan closed 2 weeks ago

LeoLiuYan commented 2 weeks ago

Feature Proposal: Allow users to customize the length of Prompt.

Description

As we know, the Prompt is very import for AutoCompletion and Chat in repo. Is it necessary for users to customize the parameters to control the Prompt length?

Motivation

For example, to add maxSuffixPercentage and maxPromptTokens to control the maximum length of prefix field in Prompt.

Proposed Solution

Alternatives Considered

Additional Context

phodal commented 2 weeks ago

Please use Max token length in AutoDev settings panel