- Updated streamChat method to utilize content.Type for function handling, enhancing the interaction with function calls. - Improved the String method in Content struct to handle function arguments more robustly, including JSON unmarshalling for completed content. - Set default message type to "text" in NewOpenAI function, ensuring consistent message processing. These changes enhance the flexibility and maintainability of the Neo API, paving the way for improved 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 | ||