Skip to content

Commit e10dd19

Browse files
committed
Fix relace call (remove tools)
1 parent 8d42e6a commit e10dd19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/agent-runtime/src/llm-api/relace-api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ export async function promptRelaceAI(
1919
const { initialCode, editSnippet, instructions, promptAiSdk, logger } = params
2020

2121
try {
22+
const { tools, ...rest } = params
2223
// const model = 'relace-apply-2.5-lite'
2324
const content = await promptAiSdk({
24-
...params,
25+
...rest,
2526
model: 'relace/relace-apply-3',
2627
messages: [
2728
userMessage(

0 commit comments

Comments
 (0)