gptme
gptme copied to clipboard
feat: added think tool to let agent query a reasoner
TODO
- [ ] Send full conversation context (different mode/tool?)
- [ ] Karpathy-style consortium
[!IMPORTANT] Adds
thinktool to enhance reasoning on complex problems using powerful LLMs, with model specification and file content integration.
- New Feature:
- Adds
thinktool ingptme/tools/think.pyto enhance reasoning on complex problems using more powerful LLMs.- Supports specifying a model for reasoning via
modelparameter.- Functionality:
execute()function processes reasoning requests, reads file contents, and sends them to a specified model.- Logs model usage and handles file reading errors.
- Tool Specification:
ToolSpecdefines tool parameters and usage instructions, including the need to specify files in requests.- Future Enhancements:
- TODOs for implementing a consortium approach for aggregating responses from multiple models.
This description was created by
for 7a740b7778c0fd16f3f2cebe9b7cf9b926ba36d7. It will automatically update as commits are pushed.