- Update loadMap function to handle prompts as both string and array types, improving flexibility in data loading. - Refactor assistant ID generation in SaveAssistant method to use a dedicated GenerateAssistantID function, ensuring unique IDs are created with error handling. - Add GenerateAssistantID method to create a random 6-digit ID while checking for uniqueness in the database. |
||
|---|---|---|
| .. | ||
| mongo.go | ||
| redis.go | ||
| types.go | ||
| xun.go | ||
| xun_test.go | ||