Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(agent): keep skills prompt without profile
yushenf585882a0630
diff --git a/src/agent/runner.ts b/src/agent/runner.tsindex a5b4f3a062..3745e2ebb4 100644--- a/src/agent/runner.ts+++ b/src/agent/runner.ts@@ -583,13 +583,17 @@ export class Agent {options: AgentOptions,toolNames: string[],): string | undefined {+ const skillsPrompt = this.skillManager?.buildSkillsPrompt();+// If a raw systemPrompt is provided directly, use it as-is (backward compat)if (!options.profileId && options.systemPrompt) {- return options.systemPrompt;+ return skillsPrompt+ ? `${options.systemPrompt}\n\n${skillsPrompt}`+ : options.systemPrompt;}if (!this.profile?.getProfile() && !options.profileId) {- return undefined;+ return skillsPrompt || undefined;}return this.rebuildSystemPrompt(toolNames);