bstraehle commited on
Commit
3c1de16
·
verified ·
1 Parent(s): a38276a

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +5 -1
tools.py CHANGED
@@ -1,6 +1,8 @@
1
  # Automatic function calling
2
  # https://ai.google.dev/gemini-api/docs/function-calling
3
 
 
 
4
  def add(a: float, b: float) -> float:
5
  """Add two numbers.
6
 
@@ -60,4 +62,6 @@ def modulus(a: float, b: float) -> float:
60
  Returns:
61
  Result number
62
  """
63
- return a % b
 
 
 
1
  # Automatic function calling
2
  # https://ai.google.dev/gemini-api/docs/function-calling
3
 
4
+ # Arithmetic functions
5
+
6
  def add(a: float, b: float) -> float:
7
  """Add two numbers.
8
 
 
62
  Returns:
63
  Result number
64
  """
65
+ return a % b
66
+
67
+ # TODO: Other functions