Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
Add context token limit parameter to prompt creation
Dane Schneidercbaca87bda99
diff --git a/app/server/model/prompts/planning.go b/app/server/model/prompts/planning.goindex 6a2bfbc1..f693f49c 100644--- a/app/server/model/prompts/planning.go+++ b/app/server/model/prompts/planning.go@@ -1,11 +1,12 @@package promptstype CreatePromptParams struct {- AutoContext bool- ExecMode bool- IsUserDebug bool- IsApplyDebug bool- IsGitRepo bool+ AutoContext bool+ ExecMode bool+ IsUserDebug bool+ IsApplyDebug bool+ IsGitRepo bool+ ContextTokenLimit int}func GetPlanningPrompt(params CreatePromptParams) string {