usegradient 1.3.2__tar.gz → 1.3.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 (33) hide show
  1. {usegradient-1.3.2 → usegradient-1.3.3}/PKG-INFO +1 -1
  2. {usegradient-1.3.2 → usegradient-1.3.3}/examples/sdk_first_agent.py +1 -1
  3. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/runtime.py +1 -1
  4. {usegradient-1.3.2 → usegradient-1.3.3}/pyproject.toml +1 -1
  5. {usegradient-1.3.2 → usegradient-1.3.3}/.gitignore +0 -0
  6. {usegradient-1.3.2 → usegradient-1.3.3}/README.md +0 -0
  7. {usegradient-1.3.2 → usegradient-1.3.3}/demo_walkthrough.py +0 -0
  8. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/__init__.py +0 -0
  9. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/agent.py +0 -0
  10. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/client.py +0 -0
  11. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/context.py +0 -0
  12. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/credentials.py +0 -0
  13. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/decorators.py +0 -0
  14. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/dependencies.py +0 -0
  15. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/errors.py +0 -0
  16. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/graph.py +0 -0
  17. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/integrations/__init__.py +0 -0
  18. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/integrations/agent.py +0 -0
  19. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/integrations/anthropic.py +0 -0
  20. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/integrations/openai.py +0 -0
  21. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/model_catalog.py +0 -0
  22. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/models.py +0 -0
  23. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/py.typed +0 -0
  24. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/session.py +0 -0
  25. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/tools.py +0 -0
  26. {usegradient-1.3.2 → usegradient-1.3.3}/gradient_sdk/tracing.py +0 -0
  27. {usegradient-1.3.2 → usegradient-1.3.3}/tests/test_agent.py +0 -0
  28. {usegradient-1.3.2 → usegradient-1.3.3}/tests/test_client.py +0 -0
  29. {usegradient-1.3.2 → usegradient-1.3.3}/tests/test_dependencies.py +0 -0
  30. {usegradient-1.3.2 → usegradient-1.3.3}/tests/test_graph.py +0 -0
  31. {usegradient-1.3.2 → usegradient-1.3.3}/tests/test_integrations.py +0 -0
  32. {usegradient-1.3.2 → usegradient-1.3.3}/tests/test_runtime.py +0 -0
  33. {usegradient-1.3.2 → usegradient-1.3.3}/tests/test_tracing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: usegradient
3
- Version: 1.3.2
3
+ Version: 1.3.3
4
4
  Summary: Python SDK for the Gradient agent runtime and observability platform
5
5
  Project-URL: Homepage, https://usegradient.dev
6
6
  Project-URL: Documentation, https://github.com/use-gradient/gradient/tree/main/sdk/python
@@ -35,7 +35,7 @@ if __name__ == "__main__":
35
35
  environment=Environment.python(
36
36
  python="3.12",
37
37
  # usegradient + anthropic are inferred from imports / Model.CLAUDE_*.
38
- env={"ANTHROPIC_API_KEY": os.environ["ANTHROPIC_API_KEY"]},
38
+ env={"ANTHROPIC_API_KEY": "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"},
39
39
  ),
40
40
  )
41
41
 
@@ -1515,7 +1515,7 @@ def _python_venv_install_command(packages: list[str]) -> str:
1515
1515
  return (
1516
1516
  "python -m venv /tmp/gradient-venv && "
1517
1517
  "/tmp/gradient-venv/bin/pip install --upgrade pip && "
1518
- f"/tmp/gradient-venv/bin/pip install --no-cache-dir {quoted}"
1518
+ f"/tmp/gradient-venv/bin/pip install --upgrade --force-reinstall --no-cache-dir {quoted}"
1519
1519
  )
1520
1520
 
1521
1521
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "usegradient"
7
- version = "1.3.2"
7
+ version = "1.3.3"
8
8
  description = "Python SDK for the Gradient agent runtime and observability platform"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
File without changes
File without changes