- 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. |
||
|---|---|---|
| .. | ||
| agent | ||
| chat | ||
| dsl | ||
| file | ||
| hello | ||
| kb | ||
| oauth | ||
| otp | ||
| testutils | ||
| trace | ||
| user | ||
| config_test.go | ||
| openapi_test.go | ||