Env port strings must be json.parsed to int; pin main site to 18220 so inherited MARQDO_SITE_PORT cannot steal the fixture bind. Co-authored-by: Cursor <cursoragent@cursor.com>
889 B
889 B
markup, title, description, import
| markup | title | description | import | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| occlusion | isolated execute MR-01 site | Dual-stream execute + short models for ADR 0009 gold sample. |
|
main
port_s = > sys.env_get name="MARQDO_SITE_PORT" port = 18220
port_sport = > json.parse text=port_s-
_ = 1
pg = > web.page title="isolated-execute"
app = > web.app page=pg host="127.0.0.1" port=port
app = > web.route app=app path="/v1/chat/completions" method="POST" fn="site.chat" request="json" response="sse-live" class="execute"
app = > web.route app=app path="/v1/models" method="GET" fn="site.models" request="query" response="json" class="short"
app = > web.route app=app path="/v1/ping" method="GET" fn="site.ping" request="query" response="json" class="control"
app.listen