yao/agent/load_test.go
Max 95b2547c54 Refactor to decouple attachments, RAG, and AI assistant components.
- Deleted session-related functions (UserID, GuestID, UserRoles, UserOrGuestID) from the agent package to streamline the codebase.
- Removed RAG-related code and references, simplifying the agent's architecture.
- Updated API and load functions to reflect these changes, ensuring consistency across the agent module.
- Enhanced test coverage by cleaning up deprecated test cases related to removed functionalities.
2025-11-06 19:09:44 +08:00

16 lines
260 B
Go

package agent
// func TestLoad(t *testing.T) {
// test.Prepare(t, config.Conf)
// defer test.Clean()
// err := Load(config.Conf)
// if err != nil {
// t.Fatal(err)
// }
// check(t)
// }
// func check(t *testing.T) {
// assert.NotNil(t, Agent)
// }