@townco/agent 0.1.39 → 0.1.41

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) {
@@ -72,6 +72,7 @@ export function createModelFromString(modelString) {
72
72
  location: "global",
73
73
  authOptions: {
74
74
  credentials: parsedEnv,
75
+ projectId: parsedEnv["project_id"],
75
76
  },
76
77
  });
77
78
  }