refactor(prompt): split stable prefix from volatile tail
This commit is contained in:
1 parent
227fd7faf2
commit
2cdf26f9fa
13 files changed
+242
-54
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import type { PromptContext } from "./index";
|
||||
import { buildCEOInstructions } from "./operating-instructions-ceo";
|
||||
import { buildStableCEOInstructions } from "./operating-instructions-ceo";
|
||||
import { getOperatingMessages } from "./messages";
|
||||
|
||||
import engineeringEn from "./department-guidelines/engineering.en.md?raw";
|
||||
@@ -25,7 +25,7 @@ export function buildOperatingInstructions(ctx: PromptContext, isCEO: boolean, i
|
||||
}
|
||||
|
||||
if (isCEO) {
|
||||
parts.push(...buildCEOInstructions(ctx));
|
||||
parts.push(...buildStableCEOInstructions());
|
||||
} else if (isManager) {
|
||||
parts.push(...m.managerInstructions(ctx.agent.companyId));
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user