refactor: Improve model settings warning logic and fix tmux recording script

This commit is contained in:
Paul Gauthier (aider) 2025-03-18 12:27:33 -07:00
parent 274c40793f
commit e577bab263
2 changed files with 2 additions and 2 deletions

View file

@ -806,7 +806,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
" setting."
)
warned = True
if args.thinking_tokens is not None and (
not main_model.accepts_settings or "thinking_tokens" not in main_model.accepts_settings
):

View file

@ -14,5 +14,5 @@ TMUX_SIZE=$(tmux display -p '#{window_width}x#{window_height}')
echo "Using terminal size: $TMUX_SIZE"
# Start asciinema recording with the tmux window size
asciinema rec -c "tmux attach -t 0 -r" --headless --tty-size $TMUX_SIZE $*
asciinema rec -c "tmux attach -t 0 -r" tmp.cast --headless --append --tty-size $TMUX_SIZE $*