3 ms·
OpenCode checks model name and registers the appropriate tools. const usePatch = model.modelID.includes("gpt-") && !model.modelID.includes("oss") && !mo
by lukax 9d ago
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.