Skip to content

fix: use freemodel as default cora provider#254

Merged
ajianaz merged 3 commits into
developfrom
fix/cora-freemodel-config
Jun 27, 2026
Merged

fix: use freemodel as default cora provider#254
ajianaz merged 3 commits into
developfrom
fix/cora-freemodel-config

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Problem

.cora.yaml pointed to LiteLLM proxy (http://localhost:4000) which is not available in CI/agent containers. Cora review would fail silently.

Fix

  • model: glm-5.1gpt-5.4 (freemodel)
  • base_url: http://localhost:4000https://api.freemodel.dev/v1

API key still comes from CORA_API_KEY env var (injected by Hermes from .env).

Verification

Cora pre-commit hook ran on commit — passed.

ajianaz added 2 commits June 27, 2026 09:00
…elope

Adds Sentry protocol types for Phase 1 transaction support:
- SpanStatus enum (16 variants, serde snake_case)
- Span struct (op, trace_id, parent_span_id, timing, tags, data)
- Transaction struct (event_id, name, spans, release, env, contexts)
- ParsedEnvelope struct (events + transactions, extensible for Phase 2-3)

All fields use skip_serializing_if for minimal wire size.
12 new unit tests covering serde round-trips and ParsedEnvelope usage.

Closes #235
Switch from LiteLLM proxy (localhost:4000) to freemodel
(gpt-5.4 via api.freemodel.dev). The LiteLLM proxy is not
available in all environments (CI, agent containers).

- model: glm-5.1 → gpt-5.4
- base_url: http://localhost:4000 → https://api.freemodel.dev/v1
Fix Cargo Audit failure: remote memory exhaustion in quinn-proto from
unbounded out-of-order stream reassembly. Severity: 7.5 (high).

Dependency chain: trapfalld → reqwest → quinn → quinn-proto
(quinn-proto only resolved on non-linux targets).
@ajianaz ajianaz merged commit 94d2dce into develop Jun 27, 2026
10 checks passed
@ajianaz ajianaz deleted the fix/cora-freemodel-config branch June 27, 2026 03:35
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