Commit Β·
90721a6
1
Parent(s): 1a0445f
ui: rename Long-form example to Research Report; hyphenate memory labels
Browse files- "Long-form research report" example -> "Research Report"
- Memory radio labels and help text use hyphens (discard-all, hide-tool-result) for readability; internal values stay underscored to match MEMORY_STRATEGIES
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -1823,7 +1823,7 @@ EXAMPLES = [
|
|
| 1823 |
"text": "Find a 2-day itinerary in Tokyo under $250 focused on contemporary art museums and vegetarian restaurants, including transit between sites.",
|
| 1824 |
},
|
| 1825 |
{
|
| 1826 |
-
"category": "
|
| 1827 |
"icon": "π",
|
| 1828 |
"text": "Compare the LLM-safety research approaches of Anthropic, OpenAI, and Google DeepMind over the past 18 months, focusing on alignment techniques and red-teaming methodologies.",
|
| 1829 |
},
|
|
@@ -1916,8 +1916,8 @@ with gr.Blocks(
|
|
| 1916 |
choices=[
|
| 1917 |
("condenser (default)", "condenser"),
|
| 1918 |
("vanilla", "vanilla"),
|
| 1919 |
-
("
|
| 1920 |
-
("
|
| 1921 |
],
|
| 1922 |
value="condenser",
|
| 1923 |
elem_id="quest-memory-strategy",
|
|
@@ -1926,8 +1926,8 @@ with gr.Blocks(
|
|
| 1926 |
'<div class="memory-help">'
|
| 1927 |
'<b>condenser</b> (default) β when context grows large, a State Summarizer LLM compresses earlier turns into a structured JSON of trusted/untrusted/uncertain claims, visited sources, and prior search queries; the agent continues with that compact state.<br>'
|
| 1928 |
'<b>vanilla</b> β memory management disabled; the full conversation history is kept.<br>'
|
| 1929 |
-
'<b>
|
| 1930 |
-
'<b>
|
| 1931 |
'</div>'
|
| 1932 |
)
|
| 1933 |
max_turns = gr.Slider(
|
|
|
|
| 1823 |
"text": "Find a 2-day itinerary in Tokyo under $250 focused on contemporary art museums and vegetarian restaurants, including transit between sites.",
|
| 1824 |
},
|
| 1825 |
{
|
| 1826 |
+
"category": "Research Report",
|
| 1827 |
"icon": "π",
|
| 1828 |
"text": "Compare the LLM-safety research approaches of Anthropic, OpenAI, and Google DeepMind over the past 18 months, focusing on alignment techniques and red-teaming methodologies.",
|
| 1829 |
},
|
|
|
|
| 1916 |
choices=[
|
| 1917 |
("condenser (default)", "condenser"),
|
| 1918 |
("vanilla", "vanilla"),
|
| 1919 |
+
("discard-all", "discard_all"),
|
| 1920 |
+
("hide-tool-result", "hide_tool_result"),
|
| 1921 |
],
|
| 1922 |
value="condenser",
|
| 1923 |
elem_id="quest-memory-strategy",
|
|
|
|
| 1926 |
'<div class="memory-help">'
|
| 1927 |
'<b>condenser</b> (default) β when context grows large, a State Summarizer LLM compresses earlier turns into a structured JSON of trusted/untrusted/uncertain claims, visited sources, and prior search queries; the agent continues with that compact state.<br>'
|
| 1928 |
'<b>vanilla</b> β memory management disabled; the full conversation history is kept.<br>'
|
| 1929 |
+
'<b>discard-all</b> β when context grows large, the entire message history is reset, restarting the agent from the original question with no accumulated context.<br>'
|
| 1930 |
+
'<b>hide-tool-result</b> β when context grows large, older tool responses are pruned; only the most recent tool result is kept.'
|
| 1931 |
'</div>'
|
| 1932 |
)
|
| 1933 |
max_turns = gr.Slider(
|