Context debug: guardar system_prompt + messages completos del último build
El endpoint /context-debug ahora devuelve full_context con el system_prompt y messages exactos enviados al modelo. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -309,11 +309,13 @@ async def get_context_debug(session_id: str) -> dict[str, Any]:
|
||||
|
||||
history = ctx_engine.get_debug_history(session_id)
|
||||
last = ctx_engine.get_last_context_debug(session_id)
|
||||
full_context = ctx_engine.get_last_full_context(session_id)
|
||||
|
||||
return {
|
||||
"session_id": session_id,
|
||||
"total_builds": len(history),
|
||||
"last_build": last,
|
||||
"full_context": full_context,
|
||||
"history": history,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user