- Implement TestEnsureChatMetadata to verify that metadata, including robot_id, is correctly persisted in chat records. - Update EnsureChat method to store metadata from the context when creating chat records. - Introduce TestExecutorGoalsInjection to validate that pre-confirmed goals are injected into executions from TriggerInput.Data. - Enhance executor logic to handle goal injection and persistence, ensuring accurate execution titles. - Modify chat filtering to support chat_id_prefix for improved chat retrieval based on robot identifiers. |
||
|---|---|---|
| .. | ||
| assistant.go | ||
| assistant_test.go | ||
| chat.go | ||
| chat_test.go | ||
| message.go | ||
| message_test.go | ||
| resume.go | ||
| resume_test.go | ||
| search.go | ||
| search_test.go | ||
| utils.go | ||
| xun.go | ||