- Added message handling in the Execute method to support input messages from the response. - Updated the handleChatStream method to pass the context to the streamChat method, improving context management during chat streaming. - Introduced the HookStream method to handle streaming responses, allowing for custom output and next action handling based on the assistant's response. - Enhanced the ResHookStream struct to include silent output control and next action management, providing better flexibility in assistant interactions. These changes improve the robustness and maintainability of the Neo API, paving the way for enhanced assistant functionalities and message management. |
||
|---|---|---|
| .. | ||
| assistant | ||
| context | ||
| message | ||
| rag | ||
| store | ||
| vision | ||
| api.go | ||
| api_test.go | ||
| hooks.go | ||
| load.go | ||
| load_test.go | ||
| neo.go | ||
| neo_test.go | ||
| process.go | ||
| process_test.go | ||
| types.go | ||