Stop GPT-OSS 20b from being dumb ..
This commit is contained in:
@@ -22,7 +22,7 @@ const calculatorTool: Tool = {
|
|||||||
operation: {
|
operation: {
|
||||||
type: "string",
|
type: "string",
|
||||||
enum: ["add", "subtract", "multiply", "divide"],
|
enum: ["add", "subtract", "multiply", "divide"],
|
||||||
description: "The operation to perform",
|
description: "The operation to perform. One of 'add', 'subtract', 'multiply', 'divide'.",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
required: ["a", "b", "operation"],
|
required: ["a", "b", "operation"],
|
||||||
|
|||||||
Reference in New Issue
Block a user