- 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.
16 lines
260 B
Go
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)
|
|
// }
|