feat(assistant): #91 etapes enrichies (sous-sections Reflechon/Sources, chevrons, indicateur anime, suppression barre de chargement)
This commit is contained in:
@@ -84,6 +84,10 @@ def tool_step_label(name: str, arguments: dict[str, Any] | None = None) -> dict[
|
||||
|
||||
|
||||
def thought_step_label(text: str) -> dict[str, Any]:
|
||||
"""Step descriptor for one intermediate reasoning note of the model."""
|
||||
"""Step descriptor for one intermediate reasoning note of the model.
|
||||
|
||||
The note is shown expanded under a “Thought” sub-section in the UI, so it
|
||||
is kept long enough to be readable (truncation is the safety net).
|
||||
"""
|
||||
cleaned = " ".join((text or "").split())
|
||||
return {"key": "thought", "params": {"value": cleaned[:400]}}
|
||||
return {"key": "thought", "params": {"value": cleaned[:1200]}}
|
||||
|
||||
Reference in New Issue
Block a user