Skip to content

feat: abstract LLM provider architecture (replace callAnthropic)#41

Merged
nujovich merged 5 commits into
nujovich:mainfrom
seba3c:llm_provider_abstraction
Jun 2, 2026
Merged

feat: abstract LLM provider architecture (replace callAnthropic)#41
nujovich merged 5 commits into
nujovich:mainfrom
seba3c:llm_provider_abstraction

Conversation

@seba3c
Copy link
Copy Markdown
Contributor

@seba3c seba3c commented May 30, 2026

Summary

  • introducing a new class CssAuditor with 3 main methods, audit, parse and export, now the API and cli use this object to call the different audit steps
  • create an abstraction for llm providers API clients with its own config, this will make easier to add new providers later

@seba3c seba3c changed the title feat: abstract LLM provider architecture feat: abstract LLM provider architecture (replace callAnthropic) May 30, 2026
Comment thread lib/prompts.mjs
Comment thread lib/css-auditor.mjs
Comment thread lib/settings.mjs
Comment thread app/api/audit/route.ts
Comment thread lib/css-auditor.mjs
@seba3c
Copy link
Copy Markdown
Contributor Author

seba3c commented May 31, 2026

@nujovich ready for review

@nujovich
Copy link
Copy Markdown
Owner

nujovich commented Jun 1, 2026

@seba3c thanks! Have you tried different provider models ? E.g claude sonnet vs deepseekv4 ?

@seba3c
Copy link
Copy Markdown
Contributor Author

seba3c commented Jun 2, 2026

@seba3c thanks! Have you tried different provider models ? E.g claude sonnet vs deepseekv4 ?

No, this will be next step, this is a previous refactor to make it easier to implement a new provider.

@nujovich nujovich merged commit ee43eea into nujovich:main Jun 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants