Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Debugging a relay API in Claude Code / Codex: 401 vs 404 vs 429

When you point Claude Code or Codex at a third-party relay and it errors, read the status code first — it tells you exactly what's wrong: 404 — wrong address. Usually the /v1 on base_url : Anthropic-compatible endpoints have no /v1 (Claude Code appends /v1/messages ); OpenAI-compatible endpoints need /v1 . 401 / 403 — auth failed. Key copied in full? Credit left? Model id in the station's list?…

Para usar o Claude Haiku 5.5 no Claude Code, primeiro é necessário atualizar para a versão v2.1.293 ou posterior com o comando claude update. Em seguida, pode iniciar uma sessão com o comando claude --model claude-haiku-5-5 ou alterar o modelo em uma sessão existente com /model claude-haiku-5-5. A opção mais econômica para a maioria dos fluxos de desenvolvimento é usar o Haiku como subagente para tarefas como pesquisa, execução de testes, leitura de logs e resumos, enquanto modelos mais poderosos como Sonnet 5.5 ou Opus 5.5 lidam com tarefas complexas.

Rewritten by urgent.news; may contain errors — check the original.

Sources: xda-developers.com · dev.to · reddit.com

This story

This is one outlet's version. Read the fullest account.

Every outlet that reported this, and when →

Read the original at dev.to →

Report a problem with this story

More in Tech

Rootful Podman restarts a --uidmap container once on an AppArmor host, then gives up

TL;DR : On a host with AppArmor enabled, a rootful Podman container that has its own ID mapping ( --uidmap / --gidmap ) and a restart policy is restarted once at most.

  • Podman restarts container once with uidmap on AppArmor host
  • Container remains exited after restart, count stops at 1
  • Issue reported upstream as podman-container-tools/podman#29925

Your JSON Parses. So Why Did One Value Disappear?

Imagine reviewing a configuration file for a nightly import job. You expect the job to stop after processing 1,000 rows. But the application keeps going until 10,000.

  • Nightly import job expected to stop at 1,000 rows
  • JSON file had duplicate maxrows key with 1000 and 10000
  • Application retained last value, lost initial 1,000

Your seed data is lying to you — the case for foreign-key-consistent test data

Here's a bug I've shipped more than once: tests pass locally, demo looks great, then something breaks the moment real relational data shows up.

  • Seed data with foreign keys fails when real relational data introduced.
  • Faker-style tools generate values in isolation, not considering relationships.
  • Automating data generation ensures foreign keys point to existing records.

More from Sunday 11 October →