Skip to content

Commit 3eb1c8f

Browse files
move buildSpawnableAgentsDescription to agent-runtime package
Moved backend/src/templates/prompts.ts to packages/agent-runtime/src/templates/prompts.ts as part of the agent-runtime migration plan. Updated import in backend/src/templates/strings.ts to use @codebuff/agent-runtime package. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent e52ad5c commit 3eb1c8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/src/templates/strings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { escapeString } from '@codebuff/common/util/string'
1414
import { schemaToJsonStr } from '@codebuff/common/util/zod-schema'
1515
import { z } from 'zod/v4'
1616

17-
import { buildSpawnableAgentsDescription } from './prompts'
17+
import { buildSpawnableAgentsDescription } from '@codebuff/agent-runtime/templates/prompts'
1818
import {
1919
fullToolList,
2020
getShortToolInstructions,

backend/src/templates/prompts.ts renamed to packages/agent-runtime/src/templates/prompts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getAgentTemplate } from '@codebuff/agent-runtime/templates/agent-registry'
1+
import { getAgentTemplate } from './agent-registry'
22
import { buildArray } from '@codebuff/common/util/array'
33
import { schemaToJsonStr } from '@codebuff/common/util/zod-schema'
44

0 commit comments

Comments
 (0)