maitai-python 1.1.1__py3-none-any.whl → 1.1.2__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.
@@ -9,5 +9,6 @@ def openai_messages_to_proto(messages: Iterable[ChatCompletionMessageParam]):
9
9
  proto_messages: [ChatMessage] = []
10
10
  for message in messages:
11
11
  proto_messages.append(
12
- ChatMessage(role=message["role"], content=message["content"]))
12
+ ChatMessage().from_pydict(message)
13
+ )
13
14
  return proto_messages
maitai_common/version.py CHANGED
@@ -1,3 +1,3 @@
1
- version = "1.1.1"
1
+ version = "1.1.2"
2
2
  if __name__ == "__main__":
3
3
  print(version)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maitai-python
3
- Version: 1.1.1
3
+ Version: 1.1.2
4
4
  Summary: Maitai SDK for Python
5
5
  Home-page: https://docs.trymaitai.ai
6
6
  Author: Maitai
@@ -12,14 +12,14 @@ maitai/_types.py,sha256=zuRqVpBzv6l1j2MEplQ0ejyNeOmVDJJYVM7kFG79Qnk,3678
12
12
  maitai/_utils.py,sha256=yYYUbZvck4vR3a_ZxQnzGDZ-cckIfxLEYXgY1HXAGW8,8417
13
13
  maitai/tools/__init__.py,sha256=wbBDQlJU3Ld9Vw_Dqm_e1KtXhqfyJW16tgoDMnMkFyc,3757
14
14
  maitai_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- maitai_common/version.py,sha256=BZ55s15JPZQ_QZltmFZn8Mr0fZyEtmvm5HZJQt4ySww,64
15
+ maitai_common/version.py,sha256=ytsaLtTIL-tTG8cQciLFTGadGuTD_9yKh8UIGgKZu0Y,64
16
16
  maitai_common/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  maitai_common/config/config_service.py,sha256=lV_5nXunIaRAZQX1X80zXWW0ap5kIhcikkQeBjszZOw,916
18
18
  maitai_common/processes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  maitai_common/processes/io_thread.py,sha256=o0O-AkLInhffUHG8IkexGS_uJDXf9anFFjK977L9uEM,2098
20
20
  maitai_common/processes/websocket_listener_thread.py,sha256=IjoNzT1-aNnS6qvzZRNAuKUfb0-X2PoaOuv6fwxPsDc,3399
21
21
  maitai_common/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
- maitai_common/utils/proto_utils.py,sha256=MhJx_exWOIrroS13UDvmSon_AAJ0O6kbJ_5QApJBtWI,407
22
+ maitai_common/utils/proto_utils.py,sha256=xqp1w4OrW9qcyyWbmpVVr3pWnGODw5NOGUWRVWLM0bY,389
23
23
  maitai_common/utils/types.py,sha256=Fvz2cDJZHtHCkX0dhU9K_4pfSJ5Ol77dD29il8C4nfc,2319
24
24
  maitai_gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  maitai_gen/application/__init__.py,sha256=p7WWWRzUqNsJz2z2oysbfYXJtWiL6ymOqX0Tb0mpK3s,2378
@@ -35,7 +35,7 @@ maitai_gen/notification/__init__.py,sha256=l4M2OlHvKhnU3ygytk0-voSypDAhjzNch6C7X
35
35
  maitai_gen/sandbox/__init__.py,sha256=enYj1gknTYnJtFAHnrsPjwKnJgFSCqsmn5cdECVqNRI,1610
36
36
  maitai_gen/sentinel/__init__.py,sha256=FdmiHZr4wNKewOrMlTUaGhj9RWLkUFPbSALZUarSYlA,1661
37
37
  maitai_gen/session/__init__.py,sha256=H4YJoepiqpgqlotbudIXcrCCD9NvvyypPQtZgWm3RM4,1337
38
- maitai_python-1.1.1.dist-info/METADATA,sha256=K1lSNnu56-jejFseVViEc47dLjC_s4PEY8wCWeoAitM,1536
39
- maitai_python-1.1.1.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
40
- maitai_python-1.1.1.dist-info/top_level.txt,sha256=-5U1krxnwlqB-AY7nEe29ZcNvwByNc-SnBe-mph-QjI,32
41
- maitai_python-1.1.1.dist-info/RECORD,,
38
+ maitai_python-1.1.2.dist-info/METADATA,sha256=6gmNPGLuBYnwLdvq7fc9qY-XWpn1-FNQN8X8LV-Et7k,1536
39
+ maitai_python-1.1.2.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
40
+ maitai_python-1.1.2.dist-info/top_level.txt,sha256=-5U1krxnwlqB-AY7nEe29ZcNvwByNc-SnBe-mph-QjI,32
41
+ maitai_python-1.1.2.dist-info/RECORD,,