Commit c21be66
committed
Enhance get_conversation_endpoint_handler to retrieve session data correctly
- Updated the endpoint handler to first list agent sessions and then retrieve the specific session data using the session ID.
- Modified unit tests to mock the session retrieval process, ensuring the model_dump method is called correctly.
This change improves the accuracy of conversation data retrieval.1 parent 8cc0ac7 commit c21be66
File tree
2 files changed
+13
-1
lines changed- src/app/endpoints
- tests/unit/app/endpoints
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
138 | 144 | | |
139 | 145 | | |
140 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
308 | 314 | | |
309 | 315 | | |
310 | 316 | | |
| |||
0 commit comments