hud-python 0.1.0b1__tar.gz → 0.1.0b2__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 hud-python might be problematic. Click here for more details.
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/PKG-INFO +1 -1
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/examples/claude_osworld.ipynb +10 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/__init__.py +1 -1
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/run.py +3 -2
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/pyproject.toml +1 -1
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/tests/test_import.py +1 -1
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/.env.example +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/.github/workflows/ci.yml +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/.github/workflows/release.yml +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/.gitignore +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/LICENSE +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/MANIFEST.in +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/README.md +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/agent/base.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/agent/claude.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/agent/response_agent.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/api-reference/adapters.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/api-reference/client.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/api-reference/env.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/concepts/adapter.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/concepts/client.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/concepts/environment.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/concepts/gym.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/examples/basic.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/examples/claude-agent.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/examples/custom-agent.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/installation.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/introduction.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/logo/HUD.svg +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/mint.json +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/docs/quickstart.mdx +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/examples/README.md +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/__init__.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/claude/__init__.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/claude/adapter.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/common/__init__.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/common/adapter.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/adapters/common/types.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/client.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/environment.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/gym.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/py.typed +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/server/__init__.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/server/requests.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/settings.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/utils/__init__.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/hud/utils/config.py +0 -0
- {hud_python-0.1.0b1 → hud_python-0.1.0b2}/tests/__init__.py +0 -0
|
@@ -118,6 +118,16 @@
|
|
|
118
118
|
"# close environment\n",
|
|
119
119
|
"await env.close()"
|
|
120
120
|
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"cell_type": "code",
|
|
124
|
+
"execution_count": null,
|
|
125
|
+
"metadata": {},
|
|
126
|
+
"outputs": [],
|
|
127
|
+
"source": [
|
|
128
|
+
"analytics = await run.get_analytics()\n",
|
|
129
|
+
"print(analytics)"
|
|
130
|
+
]
|
|
121
131
|
}
|
|
122
132
|
],
|
|
123
133
|
"metadata": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
+
import datetime
|
|
3
4
|
from typing import TYPE_CHECKING, Any
|
|
4
5
|
|
|
5
6
|
from pydantic import BaseModel, Field
|
|
@@ -10,7 +11,7 @@ from .server import make_request
|
|
|
10
11
|
from .settings import settings
|
|
11
12
|
|
|
12
13
|
if TYPE_CHECKING:
|
|
13
|
-
|
|
14
|
+
import datetime
|
|
14
15
|
|
|
15
16
|
from .gym import Gym
|
|
16
17
|
|
|
@@ -61,7 +62,7 @@ class RunAnalyticsResponse(BaseModel):
|
|
|
61
62
|
total_tasks: int
|
|
62
63
|
completed_tasks: int
|
|
63
64
|
running_time: float | None = None # runtime in seconds if available
|
|
64
|
-
created_at: datetime
|
|
65
|
+
created_at: datetime.datetime
|
|
65
66
|
raw_data: dict[str, list[dict[str, Any]]] = Field(
|
|
66
67
|
default_factory=lambda: {"tasks": [], "environments": []}
|
|
67
68
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|