aafre / aafre/artisan-engine

Handle Tool Result Messages

Abierto
#13 0 comentarios 0 reacciones 0 asignados Ver en GitHub
core-logic enhancement
Lenguaje dominante
Python
Estrellas
0
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

To complete the loop, the API must be able to accept the result of a tool call from the user and feed it back to the model to generate the final human-readable response.

**Acceptance Criteria:**
- The `/v1/chat/completions` endpoint can now accept a `messages` list that includes a message with `role: "tool"`.
- This tool message (containing the result from the function the user executed) is correctly formatted and added to the conversation history sent to the model.
- The model then uses this result to generate a final text answer, and the endpoint returns a standard response with `finish_reason: "stop"`.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.