Skip to content

feat(worker): support an uncapped daily spend limit and deeper review profiles #103

Done

Description

@abruption

Problem

The Worker rejects a zero daily spend limit, and the shared profile schema caps output at 16,384 tokens. Operators also need to adjust the two spend limits without replacing the entire existing Worker configuration secret.

Scope

  • Let Worker configuration use zero for the daily spend limit. Keep monthly, per-request, daily request-count and concurrency controls in force.
  • Support overriding the two Worker spend limits through a dedicated optional binding. Preserve existing defaults and avoid changing D1 schema or stored requests.
  • Accept output limits up to 50,000 for GPT-6.2 Astra and Claude Fable 5.2. Keep existing limits for other models, established profiles, and test defaults.

Acceptance criteria

  • Verify configuration validation, the atomic reservation checks, and provider request bounds using deterministic tests.
  • Document the Worker setting in the four guides and independently review the change before opening a Draft PR.

Related to #81.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions