@townco/agent 0.1.39 → 0.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -131,6 +131,9 @@ export class LangchainAgent {
|
|
|
131
131
|
model,
|
|
132
132
|
tools: finalTools,
|
|
133
133
|
};
|
|
134
|
+
if (this.definition.systemPrompt) {
|
|
135
|
+
agentConfig.systemPrompt = this.definition.systemPrompt;
|
|
136
|
+
}
|
|
134
137
|
// Inject system prompt with optional TodoWrite instructions
|
|
135
138
|
const hasTodoWrite = builtInNames.includes("todo_write");
|
|
136
139
|
if (hasTodoWrite) {
|