Commit Graph

7 Commits

Author SHA1 Message Date
4362a2468e style: normalize string quotes, fix grammar, and clean up whitespace in demo files and __main__.py 2025-02-24 13:43:29 +00:00
612b1138ad feat: add tool execution support with sandboxed environment and validation
Implement EventHandler class for streaming tool call processing, add demo_tools console script and Makefile target, introduce demo_tools.py with echo and remember functions, and update ReplikaAgent with temperature parameter in demo_replika.py
2025-02-24 13:38:12 +00:00
e5c34df933 chore: replace free-tier pitch with setup guide and add assistant reuse logic in Agent init 2025-02-22 20:28:05 +00:00
c22d9eee25 fix: correct message_role assignment and iterable check in Agent.communicate
The diff shows two changes in `src/ragent/__init__.py` within the `Agent.communicate` method:
- Replaced `isinstance(message, list)` with `hasattr(message, "__iter__")` to support any iterable type for the messages parameter.
- Fixed a bug where `message_role` was incorrectly assigned to `message["content"]` instead of `message["role"]` when processing dict messages, and moved the assignment before the content extraction to preserve the role value.
2025-01-20 14:08:32 +00:00
dc6b102e15 docs: add demo_batch_messages command and update readme with project description and setup instructions 2025-01-20 05:47:09 +00:00
2ec66470fe feat: add MIT license headers and RAG documentation to source files and readme 2025-01-20 03:35:46 +00:00
3e1e9bf8ea chore: add initial project scaffolding with gitignore, makefile, setup, and ragent package skeleton 2025-01-20 03:29:17 +00:00