meshagent-openai 0.5.7__tar.gz → 0.5.8b2__tar.gz

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 meshagent-openai might be problematic. Click here for more details.

Files changed (24) hide show
  1. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/CHANGELOG.md +12 -0
  2. {meshagent_openai-0.5.7/meshagent_openai.egg-info → meshagent_openai-0.5.8b2}/PKG-INFO +5 -5
  3. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent/openai/proxy/proxy.py +11 -1
  4. meshagent_openai-0.5.8b2/meshagent/openai/version.py +1 -0
  5. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2/meshagent_openai.egg-info}/PKG-INFO +5 -5
  6. meshagent_openai-0.5.8b2/meshagent_openai.egg-info/requires.txt +7 -0
  7. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/pyproject.toml +4 -4
  8. meshagent_openai-0.5.7/meshagent/openai/version.py +0 -1
  9. meshagent_openai-0.5.7/meshagent_openai.egg-info/requires.txt +0 -7
  10. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/LICENSE +0 -0
  11. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/MANIFEST.in +0 -0
  12. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/README.md +0 -0
  13. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent/openai/__init__.py +0 -0
  14. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent/openai/proxy/__init__.py +0 -0
  15. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent/openai/tools/__init__.py +0 -0
  16. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent/openai/tools/completions_adapter.py +0 -0
  17. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent/openai/tools/responses_adapter.py +0 -0
  18. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent/openai/tools/schema.py +0 -0
  19. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent/openai/tools/stt.py +0 -0
  20. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent/openai/tools/stt_test.py +0 -0
  21. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent_openai.egg-info/SOURCES.txt +0 -0
  22. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent_openai.egg-info/dependency_links.txt +0 -0
  23. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/meshagent_openai.egg-info/top_level.txt +0 -0
  24. {meshagent_openai-0.5.7 → meshagent_openai-0.5.8b2}/setup.cfg +0 -0
@@ -1,3 +1,15 @@
1
+ ## [0.5.8b2]
2
+ - Stability
3
+
4
+ ## [0.5.8b1]
5
+ - Stability
6
+
7
+ ## [0.5.8-beta.1]
8
+ - Stability
9
+
10
+ ## [0.6.0-beta.1]
11
+ - Stability
12
+
1
13
  ## [0.5.7]
2
14
  - Stability
3
15
 
@@ -1,21 +1,21 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshagent-openai
3
- Version: 0.5.7
3
+ Version: 0.5.8b2
4
4
  Summary: OpenAI Building Blocks for Meshagent
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Documentation, https://docs.meshagent.com
7
7
  Project-URL: Website, https://www.meshagent.com
8
8
  Project-URL: Source, https://www.meshagent.com
9
- Requires-Python: >=3.12
9
+ Requires-Python: >=3.13
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: pyjwt~=2.10
13
13
  Requires-Dist: pytest~=8.4
14
14
  Requires-Dist: pytest-asyncio~=0.26
15
15
  Requires-Dist: openai~=1.84
16
- Requires-Dist: meshagent-api~=0.5.7
17
- Requires-Dist: meshagent-agents~=0.5.7
18
- Requires-Dist: meshagent-tools~=0.5.7
16
+ Requires-Dist: meshagent-api~=0.5.8b2
17
+ Requires-Dist: meshagent-agents~=0.5.8b2
18
+ Requires-Dist: meshagent-tools~=0.5.8b2
19
19
  Dynamic: license-file
20
20
 
21
21
  # [Meshagent](https://www.meshagent.com)
@@ -1,5 +1,8 @@
1
1
  from meshagent.api import RoomClient
2
2
  from openai import AsyncOpenAI
3
+ import logging
4
+
5
+ logger = logging.getLogger("openai.client")
3
6
 
4
7
 
5
8
  def get_client(*, room: RoomClient) -> AsyncOpenAI:
@@ -8,7 +11,14 @@ def get_client(*, room: RoomClient) -> AsyncOpenAI:
8
11
  # when running inside the room pod, the room.room_url currently points to the external url
9
12
  # so we need to use url off the protocol (if available).
10
13
  # TODO: room_url should be set properly, but may need a claim in the token to be set during call to say it is local
11
- url: str = getattr(room.protocol, "url", room.room_url)
14
+ url = getattr(room.protocol, "url")
15
+ if url is None:
16
+ logger.debug(
17
+ f"protocol does not have url, openai client falling back to room url {room.room_url}"
18
+ )
19
+ url = room.room_url
20
+ else:
21
+ logger.debug(f"protocol had url, openai client will use {url}")
12
22
 
13
23
  room_proxy_url = f"{url}/v1"
14
24
 
@@ -0,0 +1 @@
1
+ __version__ = "0.5.8b2"
@@ -1,21 +1,21 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshagent-openai
3
- Version: 0.5.7
3
+ Version: 0.5.8b2
4
4
  Summary: OpenAI Building Blocks for Meshagent
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Documentation, https://docs.meshagent.com
7
7
  Project-URL: Website, https://www.meshagent.com
8
8
  Project-URL: Source, https://www.meshagent.com
9
- Requires-Python: >=3.12
9
+ Requires-Python: >=3.13
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: pyjwt~=2.10
13
13
  Requires-Dist: pytest~=8.4
14
14
  Requires-Dist: pytest-asyncio~=0.26
15
15
  Requires-Dist: openai~=1.84
16
- Requires-Dist: meshagent-api~=0.5.7
17
- Requires-Dist: meshagent-agents~=0.5.7
18
- Requires-Dist: meshagent-tools~=0.5.7
16
+ Requires-Dist: meshagent-api~=0.5.8b2
17
+ Requires-Dist: meshagent-agents~=0.5.8b2
18
+ Requires-Dist: meshagent-tools~=0.5.8b2
19
19
  Dynamic: license-file
20
20
 
21
21
  # [Meshagent](https://www.meshagent.com)
@@ -0,0 +1,7 @@
1
+ pyjwt~=2.10
2
+ pytest~=8.4
3
+ pytest-asyncio~=0.26
4
+ openai~=1.84
5
+ meshagent-api~=0.5.8b2
6
+ meshagent-agents~=0.5.8b2
7
+ meshagent-tools~=0.5.8b2
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
  name = "meshagent-openai"
7
7
  description = "OpenAI Building Blocks for Meshagent"
8
8
  dynamic = ["version", "readme"]
9
- requires-python = ">=3.12"
9
+ requires-python = ">=3.13"
10
10
  license = "Apache-2.0"
11
11
  keywords = []
12
12
  dependencies = [
@@ -14,9 +14,9 @@ dependencies = [
14
14
  "pytest~=8.4",
15
15
  "pytest-asyncio~=0.26",
16
16
  "openai~=1.84",
17
- "meshagent-api~=0.5.7",
18
- "meshagent-agents~=0.5.7",
19
- "meshagent-tools~=0.5.7"
17
+ "meshagent-api~=0.5.8b2",
18
+ "meshagent-agents~=0.5.8b2",
19
+ "meshagent-tools~=0.5.8b2"
20
20
  ]
21
21
 
22
22
  [project.urls]
@@ -1 +0,0 @@
1
- __version__ = "0.5.7"
@@ -1,7 +0,0 @@
1
- pyjwt~=2.10
2
- pytest~=8.4
3
- pytest-asyncio~=0.26
4
- openai~=1.84
5
- meshagent-api~=0.5.7
6
- meshagent-agents~=0.5.7
7
- meshagent-tools~=0.5.7