HTTP server bootstrap (aiohttp app + middleware stack) #8
Labels
No labels
area/auth
area/batches
area/count-tokens
area/docs
area/errors
area/infra
area/messages
area/models
area/plugin
area/server
area/sessions
area/streaming
area/transform
priority/p0
priority/p1
priority/p2
status/blocked
status/done
status/in-progress
status/in-review
status/needs-rescope
status/todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kalmiya/hermes-anthropic-api#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Kanban ticket:
t_1b3032aaBoard:
hermes-anthropic-apiTask t_1b3032aa: HTTP server bootstrap (aiohttp app + middleware stack)
status: ready
assignee: -
workspace: scratch
max-retries: 2 (default)
created: 2026-08-03 16:53 by kalmiya
Body:
Bootstrap the aiohttp web.Application and middleware stack.
Reuse from api_server.py:
cors_middleware)/p/<profile>/...URL prefixing undergateway.multiplex_profiles.Add: an Anthropic-shaped auth middleware (separate from the OpenAI one, but the same Bearer-token pattern).
Config keys under
gateway.platforms.anthropic_api.extra:host(default127.0.0.1)port(default8643to avoid collision with api_server's 8642)api_key_env(defaultANTHROPIC_API_KEY)cors_originsmax_request_body_mbEvents (1):
[2026-08-03 16:53] created {'assignee': None, 'status': 'ready', 'parents': [], 'tenant': None, 'workspace_kind': 'scratch', 'workspace_path': None, 'branch_name': None, 'project_id': None, 'skills': None, 'goal_mode': None, 'model_override': None, 'provider_override': None}