You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Function to get completion on the llama.cpp server with grammar.
@@ -35,15 +35,15 @@ def run(self):
35
35
print(self.message)
36
36
37
37
38
-
# Enum for the calculator function.
38
+
# Enum for the calculator tool.
39
39
classMathOperation(Enum):
40
40
ADD="add"
41
41
SUBTRACT="subtract"
42
42
MULTIPLY="multiply"
43
43
DIVIDE="divide"
44
44
45
45
46
-
# Very simple calculator tool for the agent.
46
+
# Simple pydantic calculator tool for the agent that can add, subtract, multiply, and divide. Docstring and description of fields will be used in system prompt.
# Simple pydantic calculator tool for the agent that can add, subtract, multiply, and divide. Docstring and description of fields will be used in system prompt.
0 commit comments