diff options
Diffstat (limited to 'tests/tui.exp')
| -rw-r--r-- | tests/tui.exp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/tui.exp b/tests/tui.exp index 77ef267..f60f43e 100644 --- a/tests/tui.exp +++ b/tests/tui.exp @@ -63,8 +63,12 @@ send -- "\003"; expect eof; wait # Also check unconditional launch flags when nothing is exported. set cfg [open "$env(HOME)/.panto/config.toml" a]; puts $cfg {tools=[]}; close $cfg set flag [open "$env(HOME)/.local/share/panto-antigravity/google/no-tools" w]; close $flag -spawn -noecho $env(PANTO) --incognito -m antigravity:fast -r low -see {antigravity:}; send -- "no-tools"; see {no-tools}; send -- "\r"; see {no-tools-ok} +set rig "$env(HOME)/.panto" +set file [open "$rig/PROMPT.md" w]; puts -nonewline $file {no-tools}; close $file +spawn -noecho $env(PANTO) --incognito --rig $rig -m antigravity:fast -r low +see {requires direct TUI input}; send -- "\003"; expect eof; wait +spawn -noecho $env(PANTO) --incognito -m antigravity:fast -r low -- no-tools +see {no-tools-ok} send -- "\003"; expect eof; wait # xhigh exists before switching models, but not on gemini-test. spawn -noecho $env(PANTO) --incognito -m antigravity:fast -r xhigh |
