- Added nil checks for response objects in the Execute method to prevent potential nil pointer dereferences. - Updated the streamChat method to include assistant identification details (ID, name, avatar) in the message structure, improving context for messages. - Introduced a new field in the Message struct to mark messages as new, enhancing message tracking capabilities. These changes improve the robustness and maintainability of the Neo API, paving the way for better message handling and assistant functionalities. |
||
|---|---|---|
| .. | ||
| 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 | ||