- Updated the Assistant methods to include a new Contents parameter in HookInit, HookStream, HookDone, and HookFail, improving message context management. - Refactored handleChatStream to utilize the new Contents structure, enhancing the clarity and efficiency of chat interactions. - Introduced new methods in the Contents struct for better type management and properties handling, streamlining message processing. - Updated the Message struct to support new content types and properties, improving the overall message structure and serialization. These changes enhance the maintainability and robustness of the Neo API assistant, paving the way for improved 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 | ||