refactor(codemode): remove generic agent tool (#35420)
This commit is contained in:
@@ -2,7 +2,6 @@ export * as ExecuteTool from "./execute"
|
||||
|
||||
import {
|
||||
CodeMode,
|
||||
ExecuteInputSchema,
|
||||
Tool,
|
||||
toolError,
|
||||
type DataValue,
|
||||
@@ -93,7 +92,7 @@ export const create = (options: {
|
||||
const discovery = runtime(() => Effect.fail(toolError("Execute context is unavailable")))
|
||||
return make({
|
||||
description: discovery.instructions(),
|
||||
input: ExecuteInputSchema,
|
||||
input: CodeMode.Input,
|
||||
output: ExecuteOutput,
|
||||
structured: ExecuteMetadata,
|
||||
toStructuredOutput: ({ output }) => ({
|
||||
|
||||
Reference in New Issue
Block a user