Skip to content
This repository was archived by the owner on Jun 7, 2026. It is now read-only.
This repository was archived by the owner on Jun 7, 2026. It is now read-only.

Phase 4D: Implement routing policy #2

Description

@timkicker

Goal

TOML-based routing policy that determines which provider handles each request.

Default rule

Use local provider if configured and available; fall back to cloud if unavailable or context window exceeded.

Additional configurable rules

  • Route requests containing personal file contents or graph data to local only
  • Route requests from specific app to designated provider
  • Route code-related requests to specific provider
  • Rules evaluated in order, first match wins

Config location

~/.config/lunaris/ai.toml

References

Blueprint Section 5.3 (Routing policy)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions