Skip to content

feat: deepseek-v4-flash default + terminal REPL#23

Merged
mattmezza merged 7 commits into
mainfrom
feat/repl-deepseek-default
Jun 25, 2026
Merged

feat: deepseek-v4-flash default + terminal REPL#23
mattmezza merged 7 commits into
mainfrom
feat/repl-deepseek-default

Conversation

@mattmezza

Copy link
Copy Markdown
Owner

What

  • Default inference modeldeepseek-v4-flash (provider deepseek) in config.py defaults and config.yml.example.
  • Terminal REPL (core/repl.py, make repl): chat with the agent locally without Telegram. Builds the agent from the shared config store, registers a repl channel that routes permission approvals to a y/n stdin prompt, and loops on stdin.

Test

make repl → type a message. Ctrl-D or /exit quits.

316 tests pass.

Set llm_provider=deepseek and model=deepseek-v4-flash as the built-in
defaults (config.py) and in config.yml.example.
Adds core/repl.py and a 'make repl' target. Builds the agent from the
shared config store, registers a 'repl' channel that routes permission
approvals to a y/n stdin prompt, and loops on stdin — lets you exercise
the agent end to end without Telegram.
Capture model reasoning (anthropic thinking blocks, deepseek
reasoning_content) on LLMResponse and emit it via a dedicated
core.llm.reasoning logger, silent by default. The REPL bumps that logger
plus core.agent/core.executor to INFO and streams them live above a
\r spinner, so you see the reasoning and every tool call as the agent
works.
- Guard redraw() so startup/idle log records can't draw the spinner with
  a bogus elapsed time (the '…3128121s' line).
- Print a debug config block at launch: active provider/model, thinking
  level, memory model, history mode, voice, timezone.
- Tool-call/agent activity now renders cyan, reasoning stays dim, so the
  chain of thought reads at a glance.
- ESC during a turn cancels the in-flight agent.process task (POSIX tty
  via cbreak + add_reader; lone ESC only, escape sequences ignored).
- /clear wipes this session's conversation history.
- Banner documents both.
@mattmezza mattmezza force-pushed the feat/repl-deepseek-default branch from 8749f29 to ece518a Compare June 25, 2026 12:39
@mattmezza mattmezza merged commit e28e476 into main Jun 25, 2026
1 check passed
@mattmezza mattmezza deleted the feat/repl-deepseek-default branch June 25, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant