fix(core): isolate tool hook outcomes (#38571)
This commit is contained in:
parent
02f2725154
commit
e7ecee5df2
6 changed files with 40 additions and 37 deletions
|
|
@ -29,7 +29,7 @@ export type JsonSchema = {
|
|||
/** Either a validating Effect Schema or a render-only JSON Schema document. */
|
||||
export type SchemaType = Schema.Decoder<unknown> | JsonSchema
|
||||
|
||||
/** Executable tool tool exposed through CodeMode's `tools` object. */
|
||||
/** Executable tool exposed through CodeMode's `tools` object. */
|
||||
export type Tool<R = never> = {
|
||||
readonly _tag: "CodeModeTool"
|
||||
readonly description: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue