Skip to content

provider: cloro adapter #30

Description

@clgtm

Goal

cloro provider, access scraped. Engine list from public docs, to be corrected against fixtures: chatgpt, ai_mode, perplexity, gemini.

This is a good first contribution. It is one HTTP call, one response parse, and a fixture, written to the interface in docs/providers.md. Expect about 150 lines.

Scope

  • Implements Provider; credentials from the env var named in docs/providers.md
  • Calls counts billed requests; no currency
  • ErrNoAnswerSurface for Google surfaces that did not render
  • Recorded fixtures under testdata/, offline tests, optional live test behind //go:build live

Acceptance

  • limelit run --target chatgpt:cloro stores an answer with citations
  • Offline tests cover a normal answer, a missing surface where applicable, an auth failure
  • docs/providers.md engine list for cloro corrected to what the fixtures prove

Docs: README.md, docs/tools.md, docs/providers.md

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions