jdcloud-agentgrid 0.2.2__tar.gz → 0.2.3__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.
Files changed (30) hide show
  1. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/PKG-INFO +1 -1
  2. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/pyproject.toml +1 -1
  3. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/apps/simple_app/simple_app_handlers.py +2 -4
  4. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/version.py +1 -1
  5. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/.gitignore +0 -0
  6. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/README.md +0 -0
  7. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/__init__.py +0 -0
  8. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/apps/__init__.py +0 -0
  9. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/apps/base_app.py +0 -0
  10. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/apps/simple_app/__init__.py +0 -0
  11. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/apps/simple_app/simple_app.py +0 -0
  12. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/auth/__init__.py +0 -0
  13. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/auth/credential_chain.py +0 -0
  14. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/auth/providers.py +0 -0
  15. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/config.py +0 -0
  16. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/errors.py +0 -0
  17. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/extensions/__init__.py +0 -0
  18. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/extensions/observability/__init__.py +0 -0
  19. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/extensions/tools/__init__.py +0 -0
  20. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/extensions/tools/browser_client.py +0 -0
  21. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/extensions/tools/code_interpreter_client.py +0 -0
  22. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/extensions/tools/code_interpreter_models.py +0 -0
  23. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/profile.py +0 -0
  24. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/runtime/__init__.py +0 -0
  25. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/runtime/client.py +0 -0
  26. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/runtime/models.py +0 -0
  27. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/session.py +0 -0
  28. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/transport/__init__.py +0 -0
  29. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/transport/runtime_adapter.py +0 -0
  30. {jdcloud_agentgrid-0.2.2 → jdcloud_agentgrid-0.2.3}/src/agentgrid/transport/runtime_data_client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jdcloud_agentgrid
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: AgentGrid Python SDK for JDCloud AgentGrid Runtime
5
5
  Project-URL: Homepage, https://github.com/agentgrid/agentgrid-python
6
6
  Project-URL: Repository, https://github.com/agentgrid/agentgrid-python
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "jdcloud_agentgrid"
7
- version = "0.2.2"
7
+ version = "0.2.3"
8
8
  description = "AgentGrid Python SDK for JDCloud AgentGrid Runtime"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -145,10 +145,8 @@ class PingHandler(BaseHandler):
145
145
  del request
146
146
 
147
147
  if not self.func:
148
- logger.error("Ping handler function is not set")
149
- return Response(status_code=404)
150
-
151
- if asyncio.iscoroutinefunction(self.func):
148
+ result = "pong"
149
+ elif asyncio.iscoroutinefunction(self.func):
152
150
  result = await self.func()
153
151
  else:
154
152
  result = self.func()
@@ -3,4 +3,4 @@
3
3
  v1 基线采用语义化版本策略,当前为初始开发版本。
4
4
  """
5
5
 
6
- __version__ = "0.2.2"
6
+ __version__ = "0.2.3"