synth-ai 0.2.8.dev1__py3-none-any.whl → 0.2.8.dev3__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 synth-ai might be problematic. Click here for more details.
- synth_ai/cli/root.py +6 -0
- synth_ai/demos/core/cli.py +0 -9
- {synth_ai-0.2.8.dev1.dist-info → synth_ai-0.2.8.dev3.dist-info}/METADATA +6 -5
- {synth_ai-0.2.8.dev1.dist-info → synth_ai-0.2.8.dev3.dist-info}/RECORD +8 -8
- {synth_ai-0.2.8.dev1.dist-info → synth_ai-0.2.8.dev3.dist-info}/WHEEL +0 -0
- {synth_ai-0.2.8.dev1.dist-info → synth_ai-0.2.8.dev3.dist-info}/entry_points.txt +0 -0
- {synth_ai-0.2.8.dev1.dist-info → synth_ai-0.2.8.dev3.dist-info}/licenses/LICENSE +0 -0
- {synth_ai-0.2.8.dev1.dist-info → synth_ai-0.2.8.dev3.dist-info}/top_level.txt +0 -0
synth_ai/cli/root.py
CHANGED
|
@@ -142,6 +142,12 @@ def run(batch_size: int | None, group_size: int | None, model: str | None, timeo
|
|
|
142
142
|
_forward_to_demo(args)
|
|
143
143
|
|
|
144
144
|
|
|
145
|
+
@cli.command()
|
|
146
|
+
def setup():
|
|
147
|
+
"""Perform SDK handshake and write keys to .env."""
|
|
148
|
+
_forward_to_demo(["rl_demo.setup"])
|
|
149
|
+
|
|
150
|
+
|
|
145
151
|
@cli.command()
|
|
146
152
|
@click.option("--db-file", default="traces/v3/synth_ai.db", help="Database file path")
|
|
147
153
|
@click.option("--sqld-port", default=8080, type=int, help="Port for sqld HTTP interface")
|
synth_ai/demos/core/cli.py
CHANGED
|
@@ -66,15 +66,6 @@ def cmd_setup(_args: argparse.Namespace) -> int:
|
|
|
66
66
|
env = demo_core.load_env()
|
|
67
67
|
local_env = demo_core.load_dotenv_file(cwd_env_path)
|
|
68
68
|
|
|
69
|
-
def _is_modal_public_url(u: str) -> bool:
|
|
70
|
-
try:
|
|
71
|
-
s = (u or "").strip().lower()
|
|
72
|
-
if not (s.startswith("http://") or s.startswith("https://")):
|
|
73
|
-
return False
|
|
74
|
-
return (".modal.run" in s) and ("modal.local" not in s) and ("pypi-mirror" not in s)
|
|
75
|
-
except Exception:
|
|
76
|
-
return False
|
|
77
|
-
|
|
78
69
|
def _maybe_fix_task_url() -> None:
|
|
79
70
|
if not env.task_app_name:
|
|
80
71
|
return
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: synth-ai
|
|
3
|
-
Version: 0.2.8.
|
|
3
|
+
Version: 0.2.8.dev3
|
|
4
4
|
Summary: RL as a service SDK - Core AI functionality and tracing
|
|
5
5
|
Author-email: Synth AI <josh@usesynth.ai>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -98,16 +98,17 @@ synth-ai comes with a built-in RL example tailored for training Qwen/Qwen3-0.6B
|
|
|
98
98
|
Please create an account at [Synth](https://usesynth.ai) and [Modal](https://modal.com) for the Math hello‑world test run. Then run:
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
|
-
uvx synth-ai
|
|
102
|
-
uvx synth-ai
|
|
101
|
+
uvx synth-ai demo
|
|
102
|
+
uvx synth-ai setup
|
|
103
|
+
uvx synth-ai deploy
|
|
103
104
|
uvx synth-ai run
|
|
104
105
|
```
|
|
105
106
|
|
|
106
107
|
To walk through kicking off your first RL run, see the [Synth‑AI Documentation](https://docs.usesynth.ai/synth-ai/introduction).
|
|
107
108
|
|
|
108
|
-
### What `
|
|
109
|
+
### What `setup` does now
|
|
109
110
|
|
|
110
|
-
When you run `uvx synth-ai rl_demo setup
|
|
111
|
+
When you run `uvx synth-ai setup` (or the legacy `uvx synth-ai rl_demo setup`), the SDK opens your browser to the Synth dashboard for a one‑time pairing (handshake) with your signed‑in session. The SDK will automatically:
|
|
111
112
|
|
|
112
113
|
- Detect your current user and organization
|
|
113
114
|
- Ensure both API keys exist for that user+org
|
|
@@ -12,7 +12,7 @@ synth_ai/cli/legacy_root_backup.py,sha256=KSMADyJ2g5OVpsq_CeBzqIeDC2Um-9GyINzsJH
|
|
|
12
12
|
synth_ai/cli/man.py,sha256=JQDon73ZkuKP9xr1_vRh5fjV9_b5xiUb7zNjny7ArB8,3765
|
|
13
13
|
synth_ai/cli/recent.py,sha256=mHhM-QrR_MfjfKSzBvvPUEC-lkXTWUZrQwqYTmb2x0Y,4173
|
|
14
14
|
synth_ai/cli/rl_demo.py,sha256=HAZqHaGFKAu7yXtjglmmNcHp4js77wCYSpa2WTcjyUE,8050
|
|
15
|
-
synth_ai/cli/root.py,sha256=
|
|
15
|
+
synth_ai/cli/root.py,sha256=C5eA3fuzyL6fpSDT7pRk4kT0BOAmdfS6SkaH3LgYTAY,9867
|
|
16
16
|
synth_ai/cli/status.py,sha256=M_bt7U58Ubi-q-ZlrIpgCASKq9_k6uMjpx926f6kLLA,4591
|
|
17
17
|
synth_ai/cli/traces.py,sha256=_QBdCR92u0Gv51U4DH0Ws1d5yCrbJRpaYKe7pmcHrHs,6484
|
|
18
18
|
synth_ai/cli/watch.py,sha256=HBKbAcpUkkPhGvsPRofckbu8oILiVqp35NXHkIEpTTc,17808
|
|
@@ -21,7 +21,7 @@ synth_ai/config/base_url.py,sha256=c85LaABBrvsl8Fp8KH0LNtJJrpnUwlzA5Ywbuth8fHE,3
|
|
|
21
21
|
synth_ai/core/experiment.py,sha256=hLkPtzUFA7iY3-QpeJ5K8YjvQeyfqnjab5P2CFaojys,236
|
|
22
22
|
synth_ai/core/system.py,sha256=s-Z7np2ISYmYc1r9YN-y2yb3cgRlOalrh0iaqnxeo84,206
|
|
23
23
|
synth_ai/demos/core/__init__.py,sha256=A2FjhY7KXGtyzdQXqeTPCkEhHfrH-eQg6bvP8HaYhZM,36
|
|
24
|
-
synth_ai/demos/core/cli.py,sha256=
|
|
24
|
+
synth_ai/demos/core/cli.py,sha256=LMw8ExI_1lUQrX0QFJzhegStwLkxqooTjD6r1Nr7fwY,55976
|
|
25
25
|
synth_ai/demos/demo_task_apps/__init__.py,sha256=8aUGEGpWUw11GRb3wQXRAmQ99yjAt5qd5FCTDJpXWjI,44
|
|
26
26
|
synth_ai/demos/demo_task_apps/core.py,sha256=ifKxxRKqC-y43MaqLHNuerXAlBHO8MI8ZBo2CzYcOoU,14563
|
|
27
27
|
synth_ai/demos/demo_task_apps/math/__init__.py,sha256=WBzpZwSn7pRarBmhopQi34i9bEm05-71eM3siboOavY,43
|
|
@@ -412,9 +412,9 @@ synth_ai/v0/tracing_v1/events/manage.py,sha256=ZDXXP-ZwLH9LCsmw7Ru9o55d7bl_diPtJ
|
|
|
412
412
|
synth_ai/v0/tracing_v1/events/scope.py,sha256=BuBkhSpVHUJt8iGT9HJZF82rbb88mQcd2vM2shg-w2I,2550
|
|
413
413
|
synth_ai/v0/tracing_v1/events/store.py,sha256=0342lvAcalyJbVEIzQFaPuMQGgwiFm7M5rE6gr-G0E8,9041
|
|
414
414
|
synth_ai/zyk/__init__.py,sha256=htVLnzTYQ5rxzYpzSYBm7_o6uNKZ3pB_PrqkBrgTRS4,771
|
|
415
|
-
synth_ai-0.2.8.
|
|
416
|
-
synth_ai-0.2.8.
|
|
417
|
-
synth_ai-0.2.8.
|
|
418
|
-
synth_ai-0.2.8.
|
|
419
|
-
synth_ai-0.2.8.
|
|
420
|
-
synth_ai-0.2.8.
|
|
415
|
+
synth_ai-0.2.8.dev3.dist-info/licenses/LICENSE,sha256=ynhjRQUfqA_RdGRATApfFA_fBAy9cno04sLtLUqxVFM,1069
|
|
416
|
+
synth_ai-0.2.8.dev3.dist-info/METADATA,sha256=uE5aiuSj5N-qefV4FCIJ_Msjc3tUTfC1EBeoRIlnQlU,5011
|
|
417
|
+
synth_ai-0.2.8.dev3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
418
|
+
synth_ai-0.2.8.dev3.dist-info/entry_points.txt,sha256=Neq-3bT7TAijjgOIR77pKL-WYg6TWBDeO8pp_nL4vGY,91
|
|
419
|
+
synth_ai-0.2.8.dev3.dist-info/top_level.txt,sha256=fBmtZyVHuKaGa29oHBaaUkrUIWTqSpoVMPiVdCDP3k8,9
|
|
420
|
+
synth_ai-0.2.8.dev3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|