Skip to content

Preserve backend HTTP status in scoring errors - #31

Merged
NotXf1le merged 1 commit into
masterfrom
feature/core-http-error-status
Oct 26, 2026
Merged

NotXf1le merged 1 commit into
masterfrom
feature/core-http-error-status

Conversation

@NotXf1le

Copy link
Copy Markdown
Owner

What changed

  • Add optional ScoringError.httpStatus for HTTP failures in OpenRouter, Ollama, and llama.cpp.
  • Add regression and ESM/CommonJS API tests.

Why

Let callers distinguish backend HTTP failures without parsing error messages.

Checks

  • Core: npm run check — 195 tests passed.
  • Core: npm pack --dry-run.
  • MCP: npm run check — 34 tests passed.
  • MCP: npm pack --dry-run.

@NotXf1le
NotXf1le merged commit 0b2dcf4 into master Oct 26, 2026
6 checks passed
@NotXf1le NotXf1le mentioned this pull request Oct 26, 2026
3 tasks done
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.

1 participant