Skip to content

Conversation

@tars90percent
Copy link

Implements the "Persistent REPL across the client" feature from CONTRIBUTING.md.

Changes:

  • Add persistent and persist_repl_state parameters to RLM constructor
  • Store task history with full iteration details (code, outputs, answers)
  • Structure context with turn_id, task_history, and context_{N} variables
  • Add history management API: get_task_history(), clear_history(), etc.
  • Update visualizer with turn navigation for multi-turn sessions
  • Clarify FINAL vs FINAL_VAR syntax in prompts

Also includes Anthropic client enhancements:

  • Support for base_url, timeout, and auth_token parameters
  • Proper handling of extended thinking (ThinkingBlock) responses

Implements the "Persistent REPL across the client" feature from CONTRIBUTING.md.

Changes:
- Add `persistent` and `persist_repl_state` parameters to RLM constructor
- Store task history with full iteration details (code, outputs, answers)
- Structure context with turn_id, task_history, and context_{N} variables
- Add history management API: get_task_history(), clear_history(), etc.
- Update visualizer with turn navigation for multi-turn sessions
- Clarify FINAL vs FINAL_VAR syntax in prompts

Also includes Anthropic client enhancements:
- Support for base_url, timeout, and auth_token parameters
- Proper handling of extended thinking (ThinkingBlock) responses
@alexzhang13
Copy link
Owner

Hey! This was merged in PR #40, but feel free to add your other additional changes in a separate PR. Thanks!

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.

2 participants