meshagent-openai 0.5.8b5__tar.gz → 0.5.13__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.8b5 → meshagent_openai-0.5.13}/CHANGELOG.md +4 -1
  2. {meshagent_openai-0.5.8b5/meshagent_openai.egg-info → meshagent_openai-0.5.13}/PKG-INFO +5 -5
  3. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent/openai/proxy/proxy.py +1 -11
  4. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent/openai/tools/responses_adapter.py +1 -1
  5. meshagent_openai-0.5.13/meshagent/openai/version.py +1 -0
  6. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13/meshagent_openai.egg-info}/PKG-INFO +5 -5
  7. meshagent_openai-0.5.13/meshagent_openai.egg-info/requires.txt +7 -0
  8. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/pyproject.toml +4 -4
  9. meshagent_openai-0.5.8b5/meshagent/openai/version.py +0 -1
  10. meshagent_openai-0.5.8b5/meshagent_openai.egg-info/requires.txt +0 -7
  11. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/LICENSE +0 -0
  12. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/MANIFEST.in +0 -0
  13. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/README.md +0 -0
  14. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent/openai/__init__.py +0 -0
  15. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent/openai/proxy/__init__.py +0 -0
  16. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent/openai/tools/__init__.py +0 -0
  17. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent/openai/tools/completions_adapter.py +0 -0
  18. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent/openai/tools/schema.py +0 -0
  19. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent/openai/tools/stt.py +0 -0
  20. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent/openai/tools/stt_test.py +0 -0
  21. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent_openai.egg-info/SOURCES.txt +0 -0
  22. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent_openai.egg-info/dependency_links.txt +0 -0
  23. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/meshagent_openai.egg-info/top_level.txt +0 -0
  24. {meshagent_openai-0.5.8b5 → meshagent_openai-0.5.13}/setup.cfg +0 -0
@@ -1,4 +1,7 @@
1
- ## [0.5.8b5]
1
+ ## [0.5.13]
2
+ - Stability
3
+
4
+ ## [0.5.12]
2
5
  - Stability
3
6
 
4
7
  ## [0.5.8]
@@ -1,21 +1,21 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshagent-openai
3
- Version: 0.5.8b5
3
+ Version: 0.5.13
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.13
9
+ Requires-Python: >=3.12
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.8b5
17
- Requires-Dist: meshagent-agents~=0.5.8b5
18
- Requires-Dist: meshagent-tools~=0.5.8b5
16
+ Requires-Dist: meshagent-api~=0.5.13
17
+ Requires-Dist: meshagent-agents~=0.5.13
18
+ Requires-Dist: meshagent-tools~=0.5.13
19
19
  Dynamic: license-file
20
20
 
21
21
  # [Meshagent](https://www.meshagent.com)
@@ -1,8 +1,5 @@
1
1
  from meshagent.api import RoomClient
2
2
  from openai import AsyncOpenAI
3
- import logging
4
-
5
- logger = logging.getLogger("openai.client")
6
3
 
7
4
 
8
5
  def get_client(*, room: RoomClient) -> AsyncOpenAI:
@@ -11,14 +8,7 @@ def get_client(*, room: RoomClient) -> AsyncOpenAI:
11
8
  # when running inside the room pod, the room.room_url currently points to the external url
12
9
  # so we need to use url off the protocol (if available).
13
10
  # 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
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}")
11
+ url: str = getattr(room.protocol, "url", room.room_url)
22
12
 
23
13
  room_proxy_url = f"{url}/v1"
24
14
 
@@ -275,7 +275,7 @@ class OpenAIResponsesToolResponseAdapter(ToolResponseAdapter):
275
275
  class OpenAIResponsesAdapter(LLMAdapter[ResponsesToolBundle]):
276
276
  def __init__(
277
277
  self,
278
- model: str = os.getenv("OPENAI_MODEL", "gpt-5"),
278
+ model: str = os.getenv("OPENAI_MODEL", "gpt-4.1"),
279
279
  parallel_tool_calls: Optional[bool] = None,
280
280
  client: Optional[AsyncOpenAI] = None,
281
281
  response_options: Optional[dict] = None,
@@ -0,0 +1 @@
1
+ __version__ = "0.5.13"
@@ -1,21 +1,21 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshagent-openai
3
- Version: 0.5.8b5
3
+ Version: 0.5.13
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.13
9
+ Requires-Python: >=3.12
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.8b5
17
- Requires-Dist: meshagent-agents~=0.5.8b5
18
- Requires-Dist: meshagent-tools~=0.5.8b5
16
+ Requires-Dist: meshagent-api~=0.5.13
17
+ Requires-Dist: meshagent-agents~=0.5.13
18
+ Requires-Dist: meshagent-tools~=0.5.13
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.13
6
+ meshagent-agents~=0.5.13
7
+ meshagent-tools~=0.5.13
@@ -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.13"
9
+ requires-python = ">=3.12"
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.8b5",
18
- "meshagent-agents~=0.5.8b5",
19
- "meshagent-tools~=0.5.8b5"
17
+ "meshagent-api~=0.5.13",
18
+ "meshagent-agents~=0.5.13",
19
+ "meshagent-tools~=0.5.13"
20
20
  ]
21
21
 
22
22
  [project.urls]
@@ -1 +0,0 @@
1
- __version__ = "0.5.8b5"
@@ -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.8b5
6
- meshagent-agents~=0.5.8b5
7
- meshagent-tools~=0.5.8b5