Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in
C
coderai
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • nexlab
  • coderai
  • Repository

Switch branch/tag
  • coderai
  • codai
  • broker
  • asgi_bridge.py
Find file
BlameHistoryPermalink
  • Stefy Lanza (nextime / spora )'s avatar
    api: execute_api_request always routes through the front (no single-process path) · f160c1f0
    Stefy Lanza (nextime / spora ) authored Jun 24, 2026
    coderai always runs as front + engines, so drop the single-process special-casing
    in execute_api_request: always hand the sub-request to the front (the single API),
    which routes it to the engine that owns the target model. Critically, remove the
    on-error fallback to in-process dispatch — that would silently run the model on the
    WRONG engine and hide a routing failure. If the front can't be located/reached it
    now returns a 502 the caller surfaces. Drops the now-unused os import.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01RdMufYvtTbtGDWsiZVoXce
    f160c1f0
asgi_bridge.py 6.51 KB
EditWeb IDE

Replace asgi_bridge.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.