Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

feat(anthropic): Claude 5.x safety defaults (prefix error, temporary fallback block, Mythos 5 on Converse)

Cerrado
#4,652 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@aheritier ya está trabajando en esto.

Desde el 19/10/2026.

  • #4656 de @aheritier — cerrado sin fusionar
  • #4658 de @aheritier — abierto

Evaluación

Este issue todavía no se ha evaluado.

Descripción

area/config area/providers area/providers/anthropic area/providers/bedrock

Goal

Refuse Claude 5.x configurations that docker-agent cannot serve correctly yet, instead of sending them:

  1. Non-empty fallbacks is rejected when any model in the chain is a 5.x model, until #4584 lands.
  2. Mythos 5 on Bedrock Converse is refused before any inference call.

Scope change (2026-10-20): making thinking_prefix_mismatch: error the 5.x default moved to #4653. The runtime routinely edits the conversation prefix (num_history_items trimming, hooks, compaction), so error would make those sessions fail until #4653 can replay signed history exactly or refuse cleanly. Today's drop_block default stays, and dropped blocks are already logged.

Why

  • fallbacks.go forwards any list with the June beta header and no checks (fallbacks.go). Server fallback changes model mid-response and sticks to the fallback for about an hour, which docker-agent doesn't handle yet (#4584).
  • Mythos 5 is only available on Bedrock Mantle, not runtime or Converse (model card). Today the request fails at AWS with an unclear error.

Scope

  • Fallback block: reject when the primary or any explicit target is one of the nine 5.x models, including a legacy primary with a 5.x target. Absent or empty fallbacks works as usual. Fallback chains with no 5.x model are unchanged. The error message points to #4584.
  • Refuse Mythos 5 on Converse at client construction when the model ID makes it clear.

Acceptance criteria

  • Fallback tests: 5.x primary, legacy primary → 5.x target, absent/empty list, a chain with no 5.x model (unchanged, control test).
  • Mythos 5 on Converse fails before any network call; Mythos 5.1 on Converse is allowed.
  • Docs and latest schema descriptions updated.
  • task build, task test, task lint pass.

Parent: #4583

Lenguaje dominante
Go
Estrellas
4.6k
Forks
522
Merge medio
8 h 7 min
PR fusionados (30 d)
231

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de docker/docker-agent

Todos los issues de docker/docker-agent

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.