athena-intelligence 0.1.218__py3-none-any.whl → 0.1.219__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.

Potentially problematic release.


This version of athena-intelligence might be problematic. Click here for more details.

@@ -22,10 +22,10 @@ class BaseClientWrapper:
22
22
 
23
23
  def get_headers(self) -> typing.Dict[str, str]:
24
24
  headers: typing.Dict[str, str] = {
25
- "User-Agent": "athena-intelligence/0.1.218",
25
+ "User-Agent": "athena-intelligence/0.1.219",
26
26
  "X-Fern-Language": "Python",
27
27
  "X-Fern-SDK-Name": "athena-intelligence",
28
- "X-Fern-SDK-Version": "0.1.218",
28
+ "X-Fern-SDK-Version": "0.1.219",
29
29
  **(self.get_custom_headers() or {}),
30
30
  }
31
31
  headers["X-API-KEY"] = self.api_key
@@ -4,6 +4,7 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+ from .conversation_message import ConversationMessage
7
8
 
8
9
 
9
10
  class ConversationAssetInfo(UniversalBaseModel):
@@ -41,9 +42,9 @@ class ConversationAssetInfo(UniversalBaseModel):
41
42
  Last active channel for the conversation
42
43
  """
43
44
 
44
- last_message: typing.Optional[str] = pydantic.Field(default=None)
45
+ last_message: typing.Optional[ConversationMessage] = pydantic.Field(default=None)
45
46
  """
46
- Last message content
47
+ Last message in the conversation
47
48
  """
48
49
 
49
50
  linked_aops: typing.Optional[typing.List[typing.Dict[str, typing.Optional[typing.Any]]]] = pydantic.Field(
@@ -60,7 +61,7 @@ class ConversationAssetInfo(UniversalBaseModel):
60
61
  List of linked project assets
61
62
  """
62
63
 
63
- messages: typing.Optional[typing.List[typing.Dict[str, typing.Optional[typing.Any]]]] = pydantic.Field(default=None)
64
+ messages: typing.Optional[typing.List[ConversationMessage]] = pydantic.Field(default=None)
64
65
  """
65
66
  Complete list of messages in the conversation from checkpoints
66
67
  """
@@ -4,6 +4,7 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+ from .content import Content
7
8
 
8
9
 
9
10
  class ConversationMessage(UniversalBaseModel):
@@ -16,9 +17,9 @@ class ConversationMessage(UniversalBaseModel):
16
17
  Additional message metadata
17
18
  """
18
19
 
19
- content: str = pydantic.Field()
20
+ content: Content = pydantic.Field()
20
21
  """
21
- Content of the message
22
+ Content of the message - either a string or multimodal content parts
22
23
  """
23
24
 
24
25
  id: str = pydantic.Field()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: athena-intelligence
3
- Version: 0.1.218
3
+ Version: 0.1.219
4
4
  Summary: Athena Intelligence Python Library
5
5
  Requires-Python: >=3.9,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -24,7 +24,7 @@ athena/base_client.py,sha256=9OfmXHlNIFE_4Udzxn0Ue-H-sC2ps0AIm8ZRyuaDwXA,6738
24
24
  athena/client.py,sha256=lK3vVU3TF3YjPpiohpxcuRl8x_sSw8HmQ-uuDDeAT6I,22161
25
25
  athena/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
26
26
  athena/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
27
- athena/core/client_wrapper.py,sha256=cCT6LafzaetZcLGnZb9Dk5l93-T0eyaTqUsXUT1CxfI,2392
27
+ athena/core/client_wrapper.py,sha256=vhKkDBqzeUUkK8KFgFUGwvvKMoaW3BZoXIEO-aoBJrY,2392
28
28
  athena/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
29
29
  athena/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
30
30
  athena/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -89,8 +89,8 @@ athena/types/chunk_content_item.py,sha256=nKP8lq4AbbAZEKY7bRKOc7sDvqfyslCBCn8Cl_
89
89
  athena/types/chunk_result.py,sha256=hgrS4hMeuwTRpJ2YrMdrW_QWWWUQ82iYVVTuhFWm1X0,734
90
90
  athena/types/chunk_result_chunk_id.py,sha256=pzJ6yL6NdUtseoeU4Kw2jlxSTMCVew2TrjhR1MbCuFg,124
91
91
  athena/types/content.py,sha256=sSPPkZkHZgA_rO6UyTnR2QBK5mOqUz2pZ--B86r5584,211
92
- athena/types/conversation_asset_info.py,sha256=SVGd4po14Tlzr8eGjB8UWdQofV8rGEuIhrwGFJ0IHxQ,2844
93
- athena/types/conversation_message.py,sha256=iH5m0YASJkdmxSUyKPd_d9NRKDxCFVZ7nlkClBoF8IE,1030
92
+ athena/types/conversation_asset_info.py,sha256=SbsWJuGwic6nliEu9ykW-q2A7SfnRt4U3e1curB8Qok,2900
93
+ athena/types/conversation_message.py,sha256=BMTX63uNvJbWTyGtTGCnqtSW3bAcy-NR1RYjvchvofA,1109
94
94
  athena/types/conversation_result.py,sha256=IY06B71I46CHoKyzmL-ebYRIr2qrZejt8nDC-bTlKCE,1817
95
95
  athena/types/create_new_sheet_tab_response.py,sha256=RF8iOL3mkSc3pY0pqQhvw9IdnncxDC_-XdSUhqPODsM,892
96
96
  athena/types/custom_agent_response.py,sha256=hzw1s7mcCI9V58l5OqK4Q59AGF_NctSx5scjJeVWckk,684
@@ -127,6 +127,6 @@ athena/types/text_content.py,sha256=tcVCPj3tHh5zQcTElr2tdCIjjfx3ZI63rKIlaG8vo64,
127
127
  athena/types/thread_status_response_out.py,sha256=UuSAvs9woL1i8RwvVRKsFUufN4A9jO3jsV47YMckvQU,1219
128
128
  athena/types/type.py,sha256=Gvs56nvBMPcQpOZkfPocGNNb7S05PuINianbT309QAQ,146
129
129
  athena/version.py,sha256=tnXYUugs9zF_pkVdem-QBorKSuhEOOuetkR57dADDxE,86
130
- athena_intelligence-0.1.218.dist-info/METADATA,sha256=DoE9TfLg5U6j6mrRVPtFd4Iffr-sQT3t1egRJ5acQHY,5440
131
- athena_intelligence-0.1.218.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
132
- athena_intelligence-0.1.218.dist-info/RECORD,,
130
+ athena_intelligence-0.1.219.dist-info/METADATA,sha256=_awmrkpB7hjU4Abkm9QHUeCXSONJ_JvgVYrwsI7lYHg,5440
131
+ athena_intelligence-0.1.219.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
132
+ athena_intelligence-0.1.219.dist-info/RECORD,,