Skip to content

fix(ai): eliminate arbitrary defaults in network slot leasing and bind to config defaults #344

Closed

Description

@dan-petty

Arbitrary magic numbers were declared inline in src/devops_cli/ai/client/network.py and src/devops_cli/ai/client/ollama.py (e.g. max_parallel=2, timeout fallback 300.0, poll interval 0.5s, response byte limit 20MB) rather than in the centralized config submodules (defaults.py, constants.py). This issue centralizes them in defaults.py and constants.py in compliance with AGENTS.md architectural principles.

Activity

  1. added this to the v0.2.22 milestone on Sep 20, 2026
  2. added
    type/bug
    scope/ai
    priority/p2-medium
    on Sep 20, 2026
  3. dan-petty commented on Sep 21, 2026

    @dan-petty
    OwnerAuthor

    Closed by #345, merged into release/v0.2.22.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

  4. added a commit that references this issue on Sep 22, 2026
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

    priority/p2-mediumscope/aitype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions