Spaces:
Running
Running
Download src/stage0_profile.py from toecm/PureVersation: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/spaces/toecm/PureVersation/resolve/main/src/stage0_profile.py
- Command line
-
hf download hf://spaces/toecm/PureVersation/src/stage0_profile.py
-
curl -L -o stage0_profile.py https://huggingface.co/spaces/toecm/PureVersation/resolve/main/src/stage0_profile.py
1.13 kB
| """PureVersation Stage 0 contract profile. | |
| The routers are additive and side-effect free. Legacy Gradio routes remain the | |
| active production path until the Stage 1 shadow agents are ready. | |
| """ | |
| from src.stage0_contracts import create_stage0_router | |
| LEGACY_API_NAMES = [ | |
| "/check_cloud_sync", | |
| "/api_get_dialects", | |
| "/api_get_language_hierarchy", | |
| "/generate_mission", | |
| "/transcribe_check", | |
| "/generate_clarifications", | |
| "/translate_peer", | |
| "/join_queue", | |
| "/get_lobby", | |
| "/check_match", | |
| "/leave_queue", | |
| "/relay_send", | |
| "/relay_poll", | |
| "/get_xp", | |
| "/get_user_xp", | |
| "/get_oracle_task", | |
| "/submit_oracle_review", | |
| "/submit_appeal", | |
| "/submit_feedback", | |
| "/get_graveyard_task", | |
| "/check_and_submit_logic", | |
| ] | |
| routers = [ | |
| create_stage0_router( | |
| system_id="PureVersation", | |
| tenant_id="pureversation", | |
| app_id="PureVersation", | |
| capabilities=[ | |
| "interpret.dialect.v1", | |
| "translate.v1", | |
| "review.submit.v1", | |
| "transcript.normalize.v1", | |
| ], | |
| legacy_api_names=LEGACY_API_NAMES, | |
| ) | |
| ] | |