Skip to content

feat: think-out-loud mode with streaming parser and loop detection#61

Draft
Simon-Free wants to merge 1 commit intoSafeRL-Lab:mainfrom
Simon-Free:feat/think-out-loud
Draft

feat: think-out-loud mode with streaming parser and loop detection#61
Simon-Free wants to merge 1 commit intoSafeRL-Lab:mainfrom
Simon-Free:feat/think-out-loud

Conversation

@Simon-Free
Copy link
Copy Markdown

Changes

  • thinking_parser.py (new): Streaming parser separating thinking blocks from visible text, plus loop detector
  • context.py: Adds think-out-loud prompt for system prompt injection
  • cc_config.py: Adds thinking_mode config key

Tests

  • 19 tests: streaming parser, loop detection, tag stripping

Port of bouzecode think-out-loud mode.

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