Skip to content

Commit e52ad5c

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

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
@@ -19,7 +19,7 @@ import {
1919
fullToolList,
2020
getShortToolInstructions,
2121
getToolsInstructions,
22-
} from '../tools/prompts'
22+
} from '@codebuff/agent-runtime/tools/prompts'
2323

2424
import type {
2525
AgentTemplate,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { buildArray } from '@codebuff/common/util/array'
44
import { pluralize } from '@codebuff/common/util/string'
55
import z from 'zod/v4'
66

7-
import { codebuffToolDefs } from '@codebuff/agent-runtime/tools/definitions/list'
7+
import { codebuffToolDefs } from './definitions/list'
88

99
import type { ToolName } from '@codebuff/common/tools/constants'
1010
import type { customToolDefinitionsSchema } from '@codebuff/common/util/file'

0 commit comments

Comments
 (0)