Skip to content

Decide and abstract the LLM provider #2

Closed

Description

@goldbarth

User story
As the developer, I want the LLM behind a swappable interface so that the
pipeline never depends on one concrete provider.

Acceptance criteria

  • An interface defines the LLM operations the pipeline needs.
  • At least one concrete provider implements it.
  • The rest of the code depends only on the interface.
  • API keys are read from environment/config, never hardcoded.
  • Tests: the seam is exercised with a stub IChatClient (no live provider call), asserting the pipeline uses only the interface.

Out of scope for this issue

  • Prompt design (its own issue).
  • Supporting multiple providers at once - one is enough here.

Priority: High

Activity

  1. added this to the Phase 1 — Core milestone on Jul 15, 2026
  2. added
    area:llm
    type:feature
    on Jul 15, 2026
  3. moved this from Todo to Backlog in chartula project boardon Jul 15, 2026
  4. moved this from Backlog to In Progress in chartula project boardon Jul 16, 2026
  5. goldbarth commented on Jul 31, 2026

    @goldbarth
    OwnerAuthor

    Superseded in part by #75.

    This issue's Out of scope line, "Supporting multiple providers at once - one is enough here.", was written to a goal that was not the product's, and was never agreed. Swappable providers are product scope: see the decision in #75, and the implementation in #77, #78 and #79.

    The abstraction this issue did deliver still holds and is not in question - IChangelogModel over IChatClient, with the provider package referenced by Chartula.Cli alone. What changes is only the claim that one provider is enough.

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

    area:llmpriority:hightype:feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions