Skip to content

Phase 4: Hosted server + deployment flip #159

Description

@neuromechanist

Part of epic #155.

Goal: Flip the hosted backend and deployment to Anthropic-Haiku by default.

Scope

  • src/api/main.py: add an LLM_PROVIDER=anthropic branch mirroring the openrouter branch (main.py:437-500); env-driven Anthropic role models default to claude-haiku-4-5.
  • Build the vision LLM from Claude (lift the OpenRouter-only vision guard at main.py:493).
  • Maintainer AWS-billing deployment env (ANTHROPIC_API_KEY + ANTHROPIC_BASE_URL + ANTHROPIC_WORKSPACE_ID) in deploy/ and Docker/compose; do not hardcode the workspace id.
  • Update DEPLOYMENT.md, .env.example, CI; cut a release.

Definition of Done

  • Hosted API serves annotations on Anthropic-Haiku by default; LLM_PROVIDER=openrouter/ollama still selectable.
  • Deployment docs + env templates updated; CI green.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: apiRelated to FastAPI backendcomponent: deploymentRelated to deployment and infrastructurepriority: mediumMedium priority - normal feature/fixtype: featureNew feature or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions