Spaces:
Running
Running
Commit History
-
feat: output panel internal scrollbar with auto-follow Running
Co-authored-by: Cursor <cursoragent@cursor.com>9677388
-
fix: scope overflow CSS to #quest-output, use scrollIntoView for click, window.scrollTo for auto-follow
Co-authored-by: Cursor <cursoragent@cursor.com>532504e -
fix: prevent inner Gradio containers from becoming scroll roots
Co-authored-by: Cursor <cursoragent@cursor.com>8b59ac0
-
fix: restore scrollableAncestor logic, add inner container scroll listener
Co-authored-by: Cursor <cursoragent@cursor.com>ab3c71b -
fix: reliable scroll-to-output using window.scrollTo only
Co-authored-by: Cursor <cursoragent@cursor.com>97ab0b4 -
fix: restore output auto follow
19f77c5 -
fix: keep original auto follow behavior
337093d -
fix: prevent output scroll lock
2360015
-
fix(call_model): retry on transient ConnectionReset / broken-pipe
The Space's first request after an idle period frequently fails with 'All model candidates failed. Last error: ProtocolError(..., ConnectionResetError(104, Connection reset by peer))' — Cloudflare's edge silently RSTs idle keepalive sockets pooled by urllib3 inside huggingface_hub.InferenceClient. urllib3 evicts the bad connection on failure, so simply retrying the same call lets the pool open a fresh socket. Add per-model retry budget of 3 with 0.3 / 0.6 / 1.2 s backoff, gated on a string-match against the underlying exception chain so we only retry transient network errors (not logical / 4xx / oom).b570ea1
-
feat: PythonInterpreter via SandboxFusion, fix parse_tool_call for code tags
Co-authored-by: Cursor <cursoragent@cursor.com>7cca751 -
fix: PythonInterpreter prompt/parser align with react_agent.py
fc09751 -
feat: integrate PythonInterpreter via SandboxFusion
97f5fd3 -
fix: move overflow-x:hidden off body to avoid triggering Gradio mobile warning
092f9be -
robust mobile scroll: direct scrollTop on real container + retries
Co-authored-by: Cursor <cursoragent@cursor.com>182c9a3 -
force-wrap long inline code (URLs/search queries) at all widths
29764ad -
mobile: fix text clipping, shrink mono font, reliable scroll via scrollTo
c86e8f7 -
fix mobile overflow: min-width, wrap long code, reduce padding/font
ca4acb1 -
remove generating line; fix scroll via event delegation
3a566dc -
fix dark mode: class-based (html.dark-mode) + JS matchMedia detection
ab142b1 -
improve UX: auto-scroll to output on submit, dark mode support, generating animation
5d9015e -
Remove PythonInterpreter from Space prompt; note offline-only usage
76e7354 -
Limit batched tool call inputs
b19b429 -
Force max new tokens to 16384
71e249c -
Raise default max new tokens
f777cc6 -
Set default max turns to 50
a52d193 -
Format tool observations like QUEST inference
6f0184a -
Stop model before tool response boundary
a25c2e7 -
Inject authoritative date into user prompt
b07eb5e -
Strengthen date-sensitive prompt guidance
6d44386 -
Emphasize current date in system prompt
a0e5701
-
ui: refine example helper copy
865497a -
ui: show full visited URLs
8292c97
-
ui: fix Mind2Web 2 label
043d8ab -
ui: remove moon landing example
6adb6f5 -
ui: add Mind2Web2 RAG example
cfacd09 -
ui: clarify example prompt copy
ed4cdd1 -
ui: update max turns defaults and timeout copy
397fa38 -
Update app.py
Verified signatured0d97f2 -
ui: remove walkthrough section per user request
Zhongyang Li +1: Claude Opus 4.7The 'A real Mind2Web2 research run' accordion (UI block, WALKTHROUGH_HTML constant, and all .walkthrough CSS) has been removed. No behavior change to the demo itself. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>a9141e8 -
walkthrough: scroll-driven replay (sticky state bar + active-step highlight)
The walkthrough now simulates a playback as you scroll: a sticky bar at the top of the Accordion shows the live phase, round counter X/87, an animated token-usage bar, and trusted-fact count. Each of the 5 step cards carries data-wt-* attributes; a small IntersectionObserver / scroll handler picks whichever block is closest to viewport center, highlights it, dims the past/future, and pushes its numbers into the sticky bar. When the Context-Management step becomes active the token bar drops dramatically (80,824 -> 2,400) with a green flash, visualising the condenser compression. Pure HTML/CSS/JS, no libraries; respects prefers-reduced-motion. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>18d2106 -
ui: move walkthrough between Try examples and Output; rename label
- Moved the gr.Accordion from full-width below the 2-col layout into the left column (scale=6) between Try examples and Output. It now flows with the rest of the chat-side content and inherits the column width. - Renamed label from "See it in action — a real Mind2Web 2 research run" to the shorter "A real Mind2Web2 research run". - The .walkthrough inner CSS already uses %-width cards, overflow-x:auto on the table, and mobile <=600px overrides, so width adapts to the narrower column (and to phones) without further changes.9893b8a -
ui: add "See it in action" walkthrough (real M2W2 trace, collapsed by default)
A folded gr.Accordion below the demo, no impact on the default page. When expanded, walks through one real Mind2Web 2 task that QUEST-35B ran end-to-end, showcasing the five stages of a research run: Question -> think+tool x N -> context management -> think+tool x N -> answer All numbers (62 turns, 80,824 tokens, 11 trusted facts, 122->2 message compression) and the example trusted fact come verbatim from the source trajectories.jsonl + condenser_call_1_*.json in zilus inference dump. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>9b0c194 -
fix: keep question textbox intact when Stop cancels the run
.then() fires on any termination (success, error, cancel) — so Stop was clearing the textbox along with everything else, forcing the user to retype their question. Switching to .success() limits the auto-clear to clean completions only.770e96d -
ui: Paper card subtitle Blog -> arXiv (matches new arxiv URL)
2a43365 -
fix: Stop button actually cancels run_ui generator (not the .then lambda)
run_event was captured from .click().then(), so it pointed at the chained 0ms textbox-clear lambda. stop_btn.cancels=[run_event] was therefore cancelling that no-op while the actual research generator kept running. Capture .click() into run_event first, then chain .then() separately.e717b76 -
ui: Paper card default URL -> arxiv abstract
e92ff2c
-
css: drop both display headings one more size on mobile (1rem -> 0.9rem)
f32d7c9 -
css: drop both display headings one size down
clamp 1.25-1.75rem -> 1.1-1.5rem; phone 1.15rem -> 1rem. Both headings share the same values so they stay consistent.83598ca -
css: make the two display headings consistent (size + line-height)
.hero-heading was a fixed 1.6rem with no line-height; .quest-header-title used clamp(1.25rem,2vw,1.75rem) + line-height 1.2. Give .hero-heading the identical clamp + line-height so the two headings match at every width, and unify the <=600px phone override to one shared size (1.15rem).c81ec6a -
css: shrink the two display headings on phones (<=600px)
.hero-heading was a fixed 1.6rem that never scaled down; .quest-header-title clamps no smaller than 1.25rem. On phones both dominate the screen — add a <=600px media query: header title 1.1rem, hero heading 1.2rem.80b9bc2