mirascope 1.21.4__py3-none-any.whl → 1.21.5__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.
- mirascope/llm/call_response.py +6 -0
- {mirascope-1.21.4.dist-info → mirascope-1.21.5.dist-info}/METADATA +1 -1
- {mirascope-1.21.4.dist-info → mirascope-1.21.5.dist-info}/RECORD +5 -5
- {mirascope-1.21.4.dist-info → mirascope-1.21.5.dist-info}/WHEEL +0 -0
- {mirascope-1.21.4.dist-info → mirascope-1.21.5.dist-info}/licenses/LICENSE +0 -0
mirascope/llm/call_response.py
CHANGED
|
@@ -64,6 +64,7 @@ class CallResponse(
|
|
|
64
64
|
def __getattribute__(self, name: str) -> Any: # noqa: ANN401
|
|
65
65
|
special_names = {
|
|
66
66
|
"_response",
|
|
67
|
+
"common_messages",
|
|
67
68
|
"finish_reasons",
|
|
68
69
|
"usage",
|
|
69
70
|
"message_param",
|
|
@@ -113,6 +114,11 @@ class CallResponse(
|
|
|
113
114
|
def message_param(self) -> BaseMessageParam:
|
|
114
115
|
return self._response.common_message_param # pyright: ignore [reportReturnType]
|
|
115
116
|
|
|
117
|
+
@computed_field
|
|
118
|
+
@cached_property
|
|
119
|
+
def common_messages(self) -> list[BaseMessageParam]: # pyright: ignore [reportIncompatibleMethodOverride]
|
|
120
|
+
return self._response.common_messages
|
|
121
|
+
|
|
116
122
|
@cached_property
|
|
117
123
|
def tools(self) -> list[Tool] | None: # pyright: ignore [reportIncompatibleVariableOverride]
|
|
118
124
|
return self._response.common_tools
|
|
@@ -337,7 +337,7 @@ mirascope/llm/_context.py,sha256=vtHJkLlFfUwyR_hYEHXAw3xunpHhLn67k4kuFw50GR8,124
|
|
|
337
337
|
mirascope/llm/_override.py,sha256=m4MdOhM-aJRIGP7NBJhscq3ISNct6FBPn3jjmryFo_Q,112292
|
|
338
338
|
mirascope/llm/_protocols.py,sha256=HXspRAC0PduGqbh2BM0CGe5iVj7CC3ZKMPAYvFvbDNQ,16406
|
|
339
339
|
mirascope/llm/_response_metaclass.py,sha256=6DLQb5IrqMldyEXHT_pAsr2DlUVc9CmZuZiBXG37WK8,851
|
|
340
|
-
mirascope/llm/call_response.py,sha256=
|
|
340
|
+
mirascope/llm/call_response.py,sha256=4w_2Dgt325lEjMaFlg7Iq2AGp8cI0uSaqCa8MR_S5GY,5171
|
|
341
341
|
mirascope/llm/call_response_chunk.py,sha256=bZwO43ipc6PO1VLgGSaAPRqCIUyZD_Ty5oxdJX62yno,1966
|
|
342
342
|
mirascope/llm/stream.py,sha256=GtUKyLBlKqqZTOKjdL9FLInCXJ0ZOEAe6nymbjKwyTQ,5293
|
|
343
343
|
mirascope/llm/tool.py,sha256=MQRJBPhP1d-OyOz3PE_VsKmSXca0chySyYO1U9OW8ck,1824
|
|
@@ -368,7 +368,7 @@ mirascope/v0/base/ops_utils.py,sha256=1Qq-VIwgHBaYutiZsS2MUQ4OgPC3APyywI5bTiTAmA
|
|
|
368
368
|
mirascope/v0/base/prompts.py,sha256=FM2Yz98cSnDceYogiwPrp4BALf3_F3d4fIOCGAkd-SE,1298
|
|
369
369
|
mirascope/v0/base/types.py,sha256=ZfatJoX0Yl0e3jhv0D_MhiSVHLYUeJsdN3um3iE10zY,352
|
|
370
370
|
mirascope/v0/base/utils.py,sha256=XREPENRQTu8gpMhHU8RC8qH_am3FfGUvY-dJ6x8i-mw,681
|
|
371
|
-
mirascope-1.21.
|
|
372
|
-
mirascope-1.21.
|
|
373
|
-
mirascope-1.21.
|
|
374
|
-
mirascope-1.21.
|
|
371
|
+
mirascope-1.21.5.dist-info/METADATA,sha256=bvRDe9mKqx1E8dnJnoEz5KQ4FjHkPjMp3rIkMVCzWrc,8730
|
|
372
|
+
mirascope-1.21.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
373
|
+
mirascope-1.21.5.dist-info/licenses/LICENSE,sha256=LAs5Q8mdawTsVdONpDGukwsoc4KEUBmmonDEL39b23Y,1072
|
|
374
|
+
mirascope-1.21.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|