ap-client 0.7.0.dev4__tar.gz → 0.7.0.dev6__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.
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/PKG-INFO +2 -2
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/cli.py +16 -5
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/pyproject.toml +2 -2
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/__init__.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/akpool_commands.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/api.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/config.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/dataset_commands.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/dataset_name.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/dataset_register.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/dfs_commands.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/exporter.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/fs_commands.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/fs_storage.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/fs_transfer.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/instance_commands.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/instance_options.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/irepo_sdk.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/managed_ak.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/manifest_view.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/ossutil_hash.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/ossutil_io.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/profile_commands.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/repo_read_guard.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/share_api.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/split_publish.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/tbb.py +0 -0
- {ap_client-0.7.0.dev4 → ap_client-0.7.0.dev6}/ap_client/waiter.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: ap-client
|
|
3
|
-
Version: 0.7.0.
|
|
3
|
+
Version: 0.7.0.dev6
|
|
4
4
|
Summary: Agent Platform API Client & CLI
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
|
-
Requires-Dist: irepo-artifact==0.2.
|
|
6
|
+
Requires-Dist: irepo-artifact==0.2.4
|
|
7
7
|
Requires-Dist: pyyaml>=6.0
|
|
8
8
|
Requires-Dist: requests>=2.28.0
|
|
9
9
|
Requires-Dist: rich>=13.0.0
|
|
@@ -3003,22 +3003,22 @@ def job_create(
|
|
|
3003
3003
|
meta_model: Optional[str] = typer.Option(
|
|
3004
3004
|
None,
|
|
3005
3005
|
"--meta-model",
|
|
3006
|
-
help="
|
|
3006
|
+
help="Target model or training project this job serves; not the called model or Judge. Values: ap meta-tag get meta-model --format json",
|
|
3007
3007
|
),
|
|
3008
3008
|
meta_job_type: Optional[str] = typer.Option(
|
|
3009
3009
|
None,
|
|
3010
3010
|
"--meta-job-type",
|
|
3011
|
-
help="
|
|
3011
|
+
help="Business purpose of this job. Values: ap meta-tag get meta-job-type --format json",
|
|
3012
3012
|
),
|
|
3013
3013
|
meta_teacher_direction: Optional[str] = typer.Option(
|
|
3014
3014
|
None,
|
|
3015
3015
|
"--meta-teacher-direction",
|
|
3016
|
-
help="
|
|
3016
|
+
help="Teacher direction this job serves; verify any dataset-derived value. Values: ap meta-tag get meta-teacher-direction --format json",
|
|
3017
3017
|
),
|
|
3018
3018
|
meta_train_stage: Optional[str] = typer.Option(
|
|
3019
3019
|
None,
|
|
3020
3020
|
"--meta-train-stage",
|
|
3021
|
-
help="
|
|
3021
|
+
help="Training stage this job serves; verify any dataset-derived value. Values: ap meta-tag get meta-train-stage --format json",
|
|
3022
3022
|
),
|
|
3023
3023
|
overrides: Optional[str] = typer.Option(None, "--overrides", help="Override config (JSON)"),
|
|
3024
3024
|
concurrency: Optional[int] = typer.Option(
|
|
@@ -3190,7 +3190,7 @@ def job_create(
|
|
|
3190
3190
|
benchmark: Optional[str] = typer.Option(
|
|
3191
3191
|
None,
|
|
3192
3192
|
"--benchmark",
|
|
3193
|
-
help="
|
|
3193
|
+
help="Prefer the registered benchmark source ID for this run; name is also accepted. Find IDs: ap benchmark list --format json; inspect by name: ap benchmark get NAME --format json",
|
|
3194
3194
|
),
|
|
3195
3195
|
checkpoint_id: Optional[str] = typer.Option(
|
|
3196
3196
|
None,
|
|
@@ -3236,6 +3236,17 @@ def job_create(
|
|
|
3236
3236
|
):
|
|
3237
3237
|
"""Submit a job.
|
|
3238
3238
|
|
|
3239
|
+
For agents:
|
|
3240
|
+
\b
|
|
3241
|
+
Before submitting, resolve benchmark, target model, job purpose,
|
|
3242
|
+
training stage, and teacher direction using live catalogs and task context.
|
|
3243
|
+
Verify applicable inherited values: ap profile get ID --version N --format json;
|
|
3244
|
+
ap group get ID --format json. Job tags do not overwrite existing Group metadata.
|
|
3245
|
+
Do not infer target model from serving/Judge models or training stage from evaluation.
|
|
3246
|
+
If task metadata does not determine a value, leave that field unset.
|
|
3247
|
+
Do not guess or ask the user just to complete labels.
|
|
3248
|
+
All five options remain optional; existing validation still applies.
|
|
3249
|
+
|
|
3239
3250
|
Model configuration:
|
|
3240
3251
|
Supply template parameters through --params/-p; select a managed credential with --ak-id.
|
|
3241
3252
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ap-client"
|
|
7
|
-
version = "0.7.0.
|
|
7
|
+
version = "0.7.0.dev6"
|
|
8
8
|
description = "Agent Platform API Client & CLI"
|
|
9
9
|
readme = { text = "A lightweight Python SDK and command line interface for Agent Platform. It provides helpers for configuring API access and managing templates, datasets, jobs, and groups.", content-type = "text/markdown" }
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -14,7 +14,7 @@ dependencies = [
|
|
|
14
14
|
"rich>=13.0.0",
|
|
15
15
|
"PyYAML>=6.0",
|
|
16
16
|
"websockets>=13.0",
|
|
17
|
-
"irepo-artifact==0.2.
|
|
17
|
+
"irepo-artifact==0.2.4",
|
|
18
18
|
]
|
|
19
19
|
|
|
20
20
|
[project.optional-dependencies]
|
|
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
|