- Simplified the assistant loading process by removing the asynchronous query for the assistant list and replacing it with a direct call to retrieve the default assistant. - Introduced a new method, defaultAssistant, to streamline the retrieval of the default assistant based on the current configuration. - Enhanced the LoadStore function to support loading assistants from a specified path, improving flexibility in assistant management. - Updated the overall structure for better readability and maintainability, ensuring a more efficient assistant initialization process. |
||
|---|---|---|
| .. | ||
| local | ||
| openai | ||
| api.go | ||
| assistant.go | ||
| assistant_test.go | ||
| cache.go | ||
| cache_test.go | ||
| types.go | ||