mirascope 1.23.0__py3-none-any.whl → 1.23.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,8 +61,9 @@ class MistralTool(BaseTool):
61
61
  """
62
62
  fn: dict[str, Any] = {"name": cls._name(), "description": cls._description()}
63
63
  model_schema = cls.model_json_schema()
64
- if model_schema["properties"]:
65
- fn["parameters"] = model_schema
64
+ fn["parameters"] = (
65
+ model_schema if model_schema["properties"] else {"type": "object"}
66
+ )
66
67
  return {"function": fn, "type": "function"}
67
68
 
68
69
  @classmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mirascope
3
- Version: 1.23.0
3
+ Version: 1.23.1
4
4
  Summary: LLM abstractions that aren't obstructions
5
5
  Project-URL: Homepage, https://mirascope.com
6
6
  Project-URL: Documentation, https://mirascope.com/WELCOME
@@ -264,7 +264,7 @@ mirascope/core/mistral/call_response_chunk.py,sha256=HvoPONyOcbMQPWnrG0qBCfiT6PH
264
264
  mirascope/core/mistral/dynamic_config.py,sha256=-pzTvXf870NxEhjpgjqPahFWqqifzMhSbvM0kXs2G_s,937
265
265
  mirascope/core/mistral/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
266
266
  mirascope/core/mistral/stream.py,sha256=AuLhdYd2oNBNmoRV05mkuEDEgAiqbc6GPT9T3LeV1u8,3616
267
- mirascope/core/mistral/tool.py,sha256=1vY_I16Ma7gnNLkmsWEt7amv_xMiIgbCbFDVm2WIsP8,2279
267
+ mirascope/core/mistral/tool.py,sha256=CUZQksDSc4JtwJSzr21zqhH1QJMMceu1drZmIl7Ntsw,2314
268
268
  mirascope/core/mistral/_utils/__init__.py,sha256=OEbMTcG48qVN68NOTsDjXhuX-NrW9mlGUKr3nmBR3gc,389
269
269
  mirascope/core/mistral/_utils/_convert_common_call_params.py,sha256=7nDwJ3vtzErHQHKmuNUpiq0yLkBS6mO_6X0JJpHzQbY,663
270
270
  mirascope/core/mistral/_utils/_convert_finish_reason_to_common_finish_reasons.py,sha256=ZxS1jyEweJYbjOdb543sPKSI17oUhATbs1JsIYVzKkA,720
@@ -371,7 +371,7 @@ mirascope/v0/base/ops_utils.py,sha256=1Qq-VIwgHBaYutiZsS2MUQ4OgPC3APyywI5bTiTAmA
371
371
  mirascope/v0/base/prompts.py,sha256=FM2Yz98cSnDceYogiwPrp4BALf3_F3d4fIOCGAkd-SE,1298
372
372
  mirascope/v0/base/types.py,sha256=ZfatJoX0Yl0e3jhv0D_MhiSVHLYUeJsdN3um3iE10zY,352
373
373
  mirascope/v0/base/utils.py,sha256=XREPENRQTu8gpMhHU8RC8qH_am3FfGUvY-dJ6x8i-mw,681
374
- mirascope-1.23.0.dist-info/METADATA,sha256=IRI77JnWVALVxY382zMjwubZwgKE4IY5r52YSNoNYD8,8783
375
- mirascope-1.23.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
376
- mirascope-1.23.0.dist-info/licenses/LICENSE,sha256=LAs5Q8mdawTsVdONpDGukwsoc4KEUBmmonDEL39b23Y,1072
377
- mirascope-1.23.0.dist-info/RECORD,,
374
+ mirascope-1.23.1.dist-info/METADATA,sha256=zToe1Lw1H_azDAXtTeCnfyhPbMoyljUCE3m7tFZBOSs,8783
375
+ mirascope-1.23.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
376
+ mirascope-1.23.1.dist-info/licenses/LICENSE,sha256=LAs5Q8mdawTsVdONpDGukwsoc4KEUBmmonDEL39b23Y,1072
377
+ mirascope-1.23.1.dist-info/RECORD,,