veris-ai 1.8.1__py3-none-any.whl → 1.8.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.

Potentially problematic release.


This version of veris-ai might be problematic. Click here for more details.

veris_ai/api_client.py CHANGED
@@ -5,6 +5,7 @@ import os
5
5
  from typing import Any
6
6
 
7
7
  import httpx
8
+ from urllib.parse import urljoin
8
9
 
9
10
  logger = logging.getLogger(__name__)
10
11
 
@@ -40,15 +41,15 @@ class SimulatorAPIClient:
40
41
  @property
41
42
  def tool_mock_endpoint(self) -> str:
42
43
  """Get the tool mock endpoint URL."""
43
- return f"{self.base_url}/v2/tool_mock"
44
+ return urljoin(self.base_url, "v2/tool_mock")
44
45
 
45
46
  def get_log_tool_call_endpoint(self, session_id: str) -> str:
46
47
  """Get the log tool call endpoint URL."""
47
- return f"{self.base_url}/v2/simulations/{session_id}/log_tool_call"
48
+ return urljoin(self.base_url, f"v2/simulations/{session_id}/log_tool_call")
48
49
 
49
50
  def get_log_tool_response_endpoint(self, session_id: str) -> str:
50
51
  """Get the log tool response endpoint URL."""
51
- return f"{self.base_url}/v2/simulations/{session_id}/log_tool_response"
52
+ return urljoin(self.base_url, f"v2/simulations/{session_id}/log_tool_response")
52
53
 
53
54
 
54
55
  # Global singleton instance
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: veris-ai
3
- Version: 1.8.1
3
+ Version: 1.8.2
4
4
  Summary: A Python package for Veris AI tools
5
5
  Project-URL: Homepage, https://github.com/veris-ai/veris-python-sdk
6
6
  Project-URL: Bug Tracker, https://github.com/veris-ai/veris-python-sdk/issues
@@ -1,7 +1,7 @@
1
1
  veris_ai/README.md,sha256=0EC-yWB8FtqAhtcE5Q204bS1JWJPIvfpp1bPDo6iwwc,3601
2
2
  veris_ai/__init__.py,sha256=mFEF2pHXOAXoXuBh9IOQgqpKGvzLOsy8b0vUpMRJggU,2260
3
3
  veris_ai/agents_wrapper.py,sha256=LmxPkOg3KLICgTrl0Bouy7enhyO4tF6_evq2cb8I_ig,10718
4
- veris_ai/api_client.py,sha256=lpokGrDqC222eM8J65814a85DfEL_iAlHRatf9BFy2Y,2136
4
+ veris_ai/api_client.py,sha256=Gu_ovqaW-hZ6yPee2GVconMeg_xOxlt7IKu0HJQNiD0,2192
5
5
  veris_ai/logging.py,sha256=ENduOHnc5UmzciTDZDJCZqUOXb5We-bdtwN9f9Qqwl0,1360
6
6
  veris_ai/models.py,sha256=TiQJuME2pGDE6EY5J8TYKNSeajaN2Xk9ISsLoIwgtgU,502
7
7
  veris_ai/observability.py,sha256=fDtWeUexfzaIQArE5YbWsja8Y-bcE_h0dXQWYbXbupY,4929
@@ -11,7 +11,7 @@ veris_ai/jaeger_interface/README.md,sha256=kd9rKcE5xf3EyNaiHu0tjn-0oES9sfaK6Ih-O
11
11
  veris_ai/jaeger_interface/__init__.py,sha256=KD7NSiMYRG_2uF6dOLKkGG5lNQe4K9ptEwucwMT4_aw,1128
12
12
  veris_ai/jaeger_interface/client.py,sha256=yJrh86wRR0Dk3Gq12DId99WogcMIVbL0QQFqVSevvlE,8772
13
13
  veris_ai/jaeger_interface/models.py,sha256=e64VV6IvOEFuzRUgvDAMQFyOZMRb56I-PUPZLBZ3rX0,1864
14
- veris_ai-1.8.1.dist-info/METADATA,sha256=SCSuZSupecfwozColHl09XlE4Hy5W_R7xqHw8Wco560,9924
15
- veris_ai-1.8.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- veris_ai-1.8.1.dist-info/licenses/LICENSE,sha256=2g4i20atAgtD5einaKzhQrIB-JrPhyQgD3bC0wkHcCI,1065
17
- veris_ai-1.8.1.dist-info/RECORD,,
14
+ veris_ai-1.8.2.dist-info/METADATA,sha256=Qw1UFcpv4cc7kpozLsUds6R8p5inAadVz0SSnYqwBQs,9924
15
+ veris_ai-1.8.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ veris_ai-1.8.2.dist-info/licenses/LICENSE,sha256=2g4i20atAgtD5einaKzhQrIB-JrPhyQgD3bC0wkHcCI,1065
17
+ veris_ai-1.8.2.dist-info/RECORD,,