Commit f0a7ece
committed
feat: enhance AgentLayout and ChatProvider for improved message handling
- Updated AgentLayout to integrate a new ChatProvider for better message management and interaction.
- Refactored message handling logic to utilize the ChatProvider, allowing for streamlined message processing and state management.
- Introduced Equatable conformance to Source enum for improved comparison in SwiftUI.
- Enhanced the initialization of AgentLayout to support additional configuration options, including callbacks for message changes.
- Added comprehensive tests to validate the new ChatProvider functionality and ensure robust message handling across various scenarios.1 parent 5144817 commit f0a7ece
File tree
9 files changed
+2091
-1011
lines changed- Sources
- AgentLayout
- Agent
- chat
- Tests/AgentLayoutTests
9 files changed
+2091
-1011
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
| |||
0 commit comments