fix(pydantic-ai): CI fails with newest pydantic-ai (unexpected 'history' argument)

Aperta
#77 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@gambtho ci sta già lavorando.

Dal 23/10/2026.

  • #78 di @gambtho — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend, testing

Direzione di ricerca

Start with runtimes/pydantic-ai/agentkit_serve/agent_factory.py and inspect the override of _process_streamed_response alongside the supported pydantic-ai dependency range. Compare the minimum and newest dependency jobs, then run the Python checks for both versions; done means both pass. Pull request #78 is already open for this issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The pydantic-ai adapter's Python checks fail on main, so every PR shows a red check.

TypeError: _CompletedResponsesModel._process_streamed_response()
  got an unexpected keyword argument 'history'

CI installs the newest allowed pydantic-ai (2.59.0 in the failing runs; the range is >=2.38,<3). That release passes history to _process_streamed_response, and our override in runtimes/pydantic-ai/agentkit_serve/agent_factory.py doesn't accept it. 32 tests fail, 256 pass. The minimum-dependency jobs still pass.

Example run on main: https://github.com/orka-agents/agentkit/actions/runs/39919031668/job/120299489939

Fix: make the override accept the new argument while still working with the oldest supported release, and keep both dependency jobs green.

Lingua principale
Python
Stelle
7
Fork
5
Merge medio
3h 39m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di orka-agents/agentkit

Tutte le issue di orka-agents/agentkit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.