bstraehle commited on
Commit
0bf9a70
1 Parent(s): d79f9cd

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -1,7 +1,7 @@
1
  import inspect, json
2
 
3
  def get_json(str, obj):
4
- return f"{str}\n{json.loads(obj.model_dump_json())}"
5
 
6
  def function_to_schema(func) -> dict:
7
  type_map = {
 
1
  import inspect, json
2
 
3
  def get_json(str, obj):
4
+ return f"{str}\n{json.loads(obj.model_dump_json())}\n"
5
 
6
  def function_to_schema(func) -> dict:
7
  type_map = {