Commit 099e4cc
feat: implement ReasoningAgent and DualBrainAgent with enhanced reasoning capabilities
- Add ReasoningAgent class with configurable step-by-step reasoning
- Add DualBrainAgent class with separate reasoning and conversational models
- Implement ReasoningConfig for configurable reasoning behavior
- Add ReasoningFlow for reasoning flow control and validation
- Integrate existing Chain of Thought (GenerateCOT) infrastructure
- Support confidence scoring and reasoning validation
- Maintain full backward compatibility with existing Agent class
- Add comprehensive test suite to verify functionality
Resolves #968
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Mervin Praison <MervinPraison@users.noreply.github.com>1 parent a348d18 commit 099e4cc
File tree
6 files changed
+1375
-1
lines changed- src/praisonai-agents
- praisonaiagents
- agent
6 files changed
+1375
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
105 | 113 | | |
106 | 114 | | |
107 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments