Responses conversion drops nested SDK tool-call history payloads
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start with the Responses history conversion builder, which reads name and arguments from the outer object for SDK ChatCompletionMessageToolCall calls instead of the nested function attribute. Reproduce through LLM.get_response with chat_history and stream=False using a fake Responses boundary. Done when the function_call item keeps the name and arguments, flat-object and dictionary inputs still work, and the two failing regressions pass. Check the closed, unmerged PRs #5456 and #5470 first to see why they did not land.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
On main bb470c786b63a6a8d5e5f3abcfc6080f1a8832f1, Responses history conversion loses the function payload from OpenAI ChatCompletionMessageToolCall objects nested in assistant-message tool_calls.
For a call with id call_1, function name lookup and arguments {"key":"value"}, the resulting function_call item retains the ID but contains name="" and arguments="{}". The same call serialized with model_dump() preserves both fields. This also reproduces through public LLM.get_response(..., chat_history=..., stream=False) with a fake Responses boundary.
The builder reads the nested function for dictionary calls but reads name/arguments directly from the outer object for SDK calls. It should select the nested function attribute while retaining flat-object and dictionary compatibility.
Five regressions on unchanged main: two fail, three controls pass. No live provider request was run; this proves request construction rather than provider acceptance.
- Lenguaje dominante
- Python
- Estrellas
- 9.3k
- Forks
- 1.5k
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 520
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MervinPraison/PraisonAI
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
MervinPraison/PraisonAI#6710 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
claude
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
MervinPraison/PraisonAI#6707 ·
Los mantenedores suelen responder en 1 día
-
bug claude
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
MervinPraison/PraisonAI#6671 ·
Los mantenedores suelen responder en 1 día
-
Compaction budget regression fixture remains below budget with accurate tokenizationQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
MervinPraison/PraisonAI#5418 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug claude documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
MervinPraison/PraisonAI#5341 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de MervinPraison/PraisonAI
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 2 días
-
[Bug]: LANGSMITH_SAMPLING_RATE ignores fractional values (isdigit check), traces 100% of requestsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
platform/backend tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Significant-Gravitas/AutoGPT#17100 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
scverse link in README is brokenAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 61/100
scverse/infercnvpy#238 ·
Los mantenedores suelen responder en 1 día