refactor(codemode): remove generic agent tool (#35420)
This commit is contained in:
parent
391aa38281
commit
f950497173
6 changed files with 23 additions and 67 deletions
|
|
@ -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 }) => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue