- Introduced locale parameter in GetAssistants and GetAssistant methods across various store implementations to support localized responses. - Updated handleChatLatest, handleAssistantList, handleAssistantDetail, and handleAssistantTags functions to utilize the new locale handling for better user experience. - Refactored GetPlaceholder method in the Assistant struct to accept a locale argument for dynamic placeholder translations. - Removed redundant i18n code and centralized translation logic for cleaner implementation. |
||
|---|---|---|
| .. | ||
| assistant | ||
| context | ||
| i18n | ||
| message | ||
| rag | ||
| store | ||
| vision | ||
| api.go | ||
| api_test.go | ||
| load.go | ||
| load_test.go | ||
| neo.go | ||
| neo_test.go | ||
| process.go | ||
| process_test.go | ||
| types.go | ||