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

athena/__init__.py CHANGED
@@ -17,8 +17,6 @@ from .types import (
17
17
  ChunkResultChunkId,
18
18
  Content,
19
19
  ConversationAssetInfo,
20
- ConversationMessage,
21
- ConversationResult,
22
20
  CreateNewSheetTabResponse,
23
21
  CustomAgentResponse,
24
22
  DataFrameRequestOut,
@@ -92,8 +90,6 @@ __all__ = [
92
90
  "Content",
93
91
  "ContentTooLargeError",
94
92
  "ConversationAssetInfo",
95
- "ConversationMessage",
96
- "ConversationResult",
97
93
  "CreateNewSheetTabResponse",
98
94
  "CustomAgentResponse",
99
95
  "DataFrameRequestOut",
@@ -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.225",
25
+ "User-Agent": "athena-intelligence/0.1.226",
26
26
  "X-Fern-Language": "Python",
27
27
  "X-Fern-SDK-Name": "athena-intelligence",
28
- "X-Fern-SDK-Version": "0.1.225",
28
+ "X-Fern-SDK-Version": "0.1.226",
29
29
  **(self.get_custom_headers() or {}),
30
30
  }
31
31
  headers["X-API-KEY"] = self.api_key
athena/types/__init__.py CHANGED
@@ -14,8 +14,6 @@ from .chunk_result import ChunkResult
14
14
  from .chunk_result_chunk_id import ChunkResultChunkId
15
15
  from .content import Content
16
16
  from .conversation_asset_info import ConversationAssetInfo
17
- from .conversation_message import ConversationMessage
18
- from .conversation_result import ConversationResult
19
17
  from .create_new_sheet_tab_response import CreateNewSheetTabResponse
20
18
  from .custom_agent_response import CustomAgentResponse
21
19
  from .data_frame_request_out import DataFrameRequestOut
@@ -70,8 +68,6 @@ __all__ = [
70
68
  "ChunkResultChunkId",
71
69
  "Content",
72
70
  "ConversationAssetInfo",
73
- "ConversationMessage",
74
- "ConversationResult",
75
71
  "CreateNewSheetTabResponse",
76
72
  "CustomAgentResponse",
77
73
  "DataFrameRequestOut",
@@ -31,11 +31,6 @@ class AopAsyncExecuteResponseOut(UniversalBaseModel):
31
31
  Base prompt of the AOP before user inputs were added
32
32
  """
33
33
 
34
- enabled_tools: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
35
- """
36
- List of tools that were enabled for this execution
37
- """
38
-
39
34
  final_prompt: str = pydantic.Field()
40
35
  """
41
36
  Final prompt used for execution including user inputs
@@ -4,7 +4,6 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .conversation_result import ConversationResult
8
7
 
9
8
 
10
9
  class AopExecuteResponseOut(UniversalBaseModel):
@@ -32,14 +31,14 @@ class AopExecuteResponseOut(UniversalBaseModel):
32
31
  Base prompt of the AOP before user inputs were added
33
32
  """
34
33
 
35
- conversation: ConversationResult = pydantic.Field()
34
+ conversation: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None)
36
35
  """
37
36
  The conversation result from the AOP execution
38
37
  """
39
38
 
40
- enabled_tools: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
39
+ error: typing.Optional[str] = pydantic.Field(default=None)
41
40
  """
42
- List of tools that were enabled for this execution
41
+ Error message if execution failed
43
42
  """
44
43
 
45
44
  final_prompt: str = pydantic.Field()
@@ -4,7 +4,6 @@ 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
8
7
 
9
8
 
10
9
  class ConversationAssetInfo(UniversalBaseModel):
@@ -42,7 +41,7 @@ class ConversationAssetInfo(UniversalBaseModel):
42
41
  Last active channel for the conversation
43
42
  """
44
43
 
45
- last_message: typing.Optional[ConversationMessage] = pydantic.Field(default=None)
44
+ last_message: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None)
46
45
  """
47
46
  Last message in the conversation
48
47
  """
@@ -61,7 +60,7 @@ class ConversationAssetInfo(UniversalBaseModel):
61
60
  List of linked project assets
62
61
  """
63
62
 
64
- messages: typing.Optional[typing.List[ConversationMessage]] = pydantic.Field(default=None)
63
+ messages: typing.Optional[typing.List[typing.Optional[typing.Any]]] = pydantic.Field(default=None)
65
64
  """
66
65
  Complete list of messages in the conversation from checkpoints
67
66
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: athena-intelligence
3
- Version: 0.1.225
3
+ Version: 0.1.226
4
4
  Summary: Athena Intelligence Python Library
5
5
  Requires-Python: >=3.9,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,4 +1,4 @@
1
- athena/__init__.py,sha256=m4d9K_0cNfspmKY-t6QI6Iy35Wg_kfrw7SWmiIsQ-hs,3789
1
+ athena/__init__.py,sha256=XUBXN4ZyAqw-HPDFdhWdx3EjdsReRFNdUr5zjWX4N4o,3687
2
2
  athena/agents/__init__.py,sha256=dg7IOwE6-BQSx20JEhdc1VDHlbIHPy08x5fuww_Tvko,180
3
3
  athena/agents/client.py,sha256=A70jdG6spqLkPriU8-NCn0vOJvdc5f4SKoVZLOebZjQ,5975
4
4
  athena/agents/drive/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
@@ -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=kaJkHrHC6nsRRkkc6bkSV-hF8XfAHH1wrxlxQZx5dXs,2392
27
+ athena/core/client_wrapper.py,sha256=UswueTk0Tj8KOnmyXEcydVOBib1IgFR_xCgRe5cB-ZI,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
@@ -76,10 +76,10 @@ athena/tools/tasks/client.py,sha256=c_YZ7OjQNJmPKbeeXJznXj3zo5CRFSv02dLupAdHAyo,
76
76
  athena/tools/tasks/raw_client.py,sha256=Mexzuf_HcRXWNlESDGQkHHv5tC2tAo-AX3PBSuSRO3U,3812
77
77
  athena/tools/types/__init__.py,sha256=ZI6REilQ0Xuocjd8iyNVfLvOsA2Ltlb8--px07wRSPg,217
78
78
  athena/tools/types/tools_data_frame_request_columns_item.py,sha256=GA1FUlTV_CfSc-KToTAwFf4Exl0rr4fsweVZupztjw0,138
79
- athena/types/__init__.py,sha256=phDCY6o04mrhCG4P_MjxohSPUM5K8skioaxusKXcApg,4313
80
- athena/types/aop_async_execute_response_out.py,sha256=R3oy0RLyD-t4MQCnp3Ll13Ci3D5JUMhPyuetbhrONNs,1798
79
+ athena/types/__init__.py,sha256=AwyXvqPl4A6ji4C11HVfG0gdfsUQrhfA7K4FJLZPpTY,4154
80
+ athena/types/aop_async_execute_response_out.py,sha256=Ggs9j5JvLCMaVwaHNyY3whA5gcUffLqc4PwuxYWI-38,1642
81
81
  athena/types/aop_execute_request_in.py,sha256=mEsMKyNN6e90gZra733lJDC6z0bZWdc72af3B-Z5aqE,889
82
- athena/types/aop_execute_response_out.py,sha256=ZRsVi8Ho0l2nBKUyE1uP-4F14FMuuLeap1SZGeVk8NI,1856
82
+ athena/types/aop_execute_response_out.py,sha256=226NGju-pFVGE-zrwNGGiVB1BqkqtGJdMVsdqQVtnxk,1804
83
83
  athena/types/asset_content_request_out.py,sha256=RYlcY6j6Ju5EQL7UquDwyTe7uqxyuO8Bg8LCsv1YiUE,652
84
84
  athena/types/asset_node.py,sha256=3l7CUK2c_h4QT8ktSq0rFP9veF9G_V9mNe3NZlGl-xQ,804
85
85
  athena/types/asset_screenshot_response_out.py,sha256=tiAt9xnpXWMRUnblWzUEJbXYzB412kdqKkb_02OFFGE,1069
@@ -88,9 +88,7 @@ athena/types/chunk_content_item.py,sha256=nKP8lq4AbbAZEKY7bRKOc7sDvqfyslCBCn8Cl_
88
88
  athena/types/chunk_result.py,sha256=hgrS4hMeuwTRpJ2YrMdrW_QWWWUQ82iYVVTuhFWm1X0,734
89
89
  athena/types/chunk_result_chunk_id.py,sha256=pzJ6yL6NdUtseoeU4Kw2jlxSTMCVew2TrjhR1MbCuFg,124
90
90
  athena/types/content.py,sha256=sSPPkZkHZgA_rO6UyTnR2QBK5mOqUz2pZ--B86r5584,211
91
- athena/types/conversation_asset_info.py,sha256=SbsWJuGwic6nliEu9ykW-q2A7SfnRt4U3e1curB8Qok,2900
92
- athena/types/conversation_message.py,sha256=BMTX63uNvJbWTyGtTGCnqtSW3bAcy-NR1RYjvchvofA,1109
93
- athena/types/conversation_result.py,sha256=IY06B71I46CHoKyzmL-ebYRIr2qrZejt8nDC-bTlKCE,1817
91
+ athena/types/conversation_asset_info.py,sha256=Ym2CGyWN73rUDGAHmyCNNUPCN2xbYc57lvX5qrQMoN0,2862
94
92
  athena/types/create_new_sheet_tab_response.py,sha256=RF8iOL3mkSc3pY0pqQhvw9IdnncxDC_-XdSUhqPODsM,892
95
93
  athena/types/custom_agent_response.py,sha256=hzw1s7mcCI9V58l5OqK4Q59AGF_NctSx5scjJeVWckk,684
96
94
  athena/types/data_frame_request_out.py,sha256=wyVIEEI6mqSoH6SyXTQpzLCJOWwsAlUvG9iAVlNuNOU,1076
@@ -126,6 +124,6 @@ athena/types/text_content.py,sha256=tcVCPj3tHh5zQcTElr2tdCIjjfx3ZI63rKIlaG8vo64,
126
124
  athena/types/thread_status_response_out.py,sha256=UuSAvs9woL1i8RwvVRKsFUufN4A9jO3jsV47YMckvQU,1219
127
125
  athena/types/type.py,sha256=Gvs56nvBMPcQpOZkfPocGNNb7S05PuINianbT309QAQ,146
128
126
  athena/version.py,sha256=tnXYUugs9zF_pkVdem-QBorKSuhEOOuetkR57dADDxE,86
129
- athena_intelligence-0.1.225.dist-info/METADATA,sha256=Ul5huPAMJsF6SmlTw-xH5zvQhPpL4KaaobCqySH8sgo,5440
130
- athena_intelligence-0.1.225.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
131
- athena_intelligence-0.1.225.dist-info/RECORD,,
127
+ athena_intelligence-0.1.226.dist-info/METADATA,sha256=u3C420jebCV3hyxqS_UEg8MVNRrC1dn1HJeZkvTQHD4,5440
128
+ athena_intelligence-0.1.226.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
129
+ athena_intelligence-0.1.226.dist-info/RECORD,,
@@ -1,42 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .content import Content
8
-
9
-
10
- class ConversationMessage(UniversalBaseModel):
11
- """
12
- Model representing a single message in the conversation.
13
- """
14
-
15
- additional_kwargs: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
16
- """
17
- Additional message metadata
18
- """
19
-
20
- content: Content = pydantic.Field()
21
- """
22
- Content of the message - either a string or multimodal content parts
23
- """
24
-
25
- id: str = pydantic.Field()
26
- """
27
- Unique identifier for the message
28
- """
29
-
30
- role: str = pydantic.Field()
31
- """
32
- Role of the message sender (e.g., 'user', 'assistant')
33
- """
34
-
35
- if IS_PYDANTIC_V2:
36
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
37
- else:
38
-
39
- class Config:
40
- frozen = True
41
- smart_union = True
42
- extra = pydantic.Extra.allow
@@ -1,67 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .conversation_message import ConversationMessage
8
-
9
-
10
- class ConversationResult(UniversalBaseModel):
11
- """
12
- Model representing the conversation result from AOP execution.
13
- """
14
-
15
- conversation_id: typing.Optional[str] = pydantic.Field(default=None)
16
- """
17
- ID of the conversation asset
18
- """
19
-
20
- created_at: typing.Optional[str] = pydantic.Field(default=None)
21
- """
22
- ISO timestamp when conversation was created
23
- """
24
-
25
- last_assistant_message: typing.Optional[ConversationMessage] = pydantic.Field(default=None)
26
- """
27
- The last message from the assistant
28
- """
29
-
30
- messages: typing.List[ConversationMessage] = pydantic.Field()
31
- """
32
- Complete list of messages in the conversation
33
- """
34
-
35
- messages_source: str = pydantic.Field()
36
- """
37
- Source of the messages (e.g., 'checkpoints')
38
- """
39
-
40
- metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
41
- """
42
- Additional conversation metadata
43
- """
44
-
45
- num_messages: int = pydantic.Field()
46
- """
47
- Total number of messages in the conversation
48
- """
49
-
50
- title: typing.Optional[str] = pydantic.Field(default=None)
51
- """
52
- Title of the conversation
53
- """
54
-
55
- updated_at: typing.Optional[str] = pydantic.Field(default=None)
56
- """
57
- ISO timestamp when conversation was last updated
58
- """
59
-
60
- if IS_PYDANTIC_V2:
61
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
62
- else:
63
-
64
- class Config:
65
- frozen = True
66
- smart_union = True
67
- extra = pydantic.Extra.allow