Comment Comment by lukax OpenCode checks model name and registers the appropriate tools.const usePatch = model.modelID.includes("gpt-") && !model.modelID.includes("oss") && !model.modelID.includes("gpt-4")Pi uses its own tools, like Armin wrote in the linked article. parent lukax 1 month ago
const usePatch = model.modelID.includes("gpt-") && !model.modelID.includes("oss") && !model.modelID.includes("gpt-4")
Pi uses its own tools, like Armin wrote in the linked article.