mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-07 01:08:58 +00:00
core: temporarily disable plan enter tool to prevent unintended mode switches during task execution
This commit is contained in:
@@ -8,7 +8,6 @@ import { Identifier } from "../id/id"
|
||||
import { Provider } from "../provider/provider"
|
||||
import { Instance } from "../project/instance"
|
||||
import EXIT_DESCRIPTION from "./plan-exit.txt"
|
||||
import ENTER_DESCRIPTION from "./plan-enter.txt"
|
||||
|
||||
async function getLastModel(sessionID: string) {
|
||||
for await (const item of MessageV2.stream(sessionID)) {
|
||||
@@ -72,6 +71,7 @@ export const PlanExitTool = Tool.define("plan_exit", {
|
||||
},
|
||||
})
|
||||
|
||||
/*
|
||||
export const PlanEnterTool = Tool.define("plan_enter", {
|
||||
description: ENTER_DESCRIPTION,
|
||||
parameters: z.object({}),
|
||||
@@ -128,3 +128,4 @@ export const PlanEnterTool = Tool.define("plan_enter", {
|
||||
}
|
||||
},
|
||||
})
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user