the `has_user_content` check should check if the context is empty (or if there is no custom system prompt).

Abierto
#1,767 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
ai

Línea de trabajo

Start by reading the has_user_content check and its callers to see how they determine whether context may be replayed. The issue proposes checking whether the context is empty or there is no custom system prompt; identify the intended condition and add or update tests for replaying model output, tool messages, and system-prompt-only input. Done when those cases follow the agreed behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

needs-design

I think this is okay from the current perspective; but I actually disagree with the has_user_content check. I think we should check if the context is empty (or if there is no custom system prompt).

Some times we may want to just replay a model output thunk or a tool message. It's also possible that a user may have put everything into the system prompt.

Originally posted by @jakelorocco in https://github.com/generative-computing/mellea/pull/1757#pullrequestreview-5606272442

Lenguaje dominante
Python
Estrellas
1.8k
Forks
161
Merge medio
4 d 3 h
PR fusionados (30 d)
45

Preparar el entorno

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 generative-computing/mellea

Todos los issues de generative-computing/mellea

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.