yao/kb/api
Max fa471bc4c4 Update tests to use context and correct URL references
- Modified the `createTestContext` function to use `context.Background()` for improved context management in tests.
- Updated the URL in the `TestAddURL` function to point to the correct Yao Agent Caller resource, ensuring accurate test assertions for added URLs.
2025-12-19 20:10:16 +08:00
..
addfile.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
addfile_test.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
addtext.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
addtext_test.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
addurl.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
addurl_test.go Update tests to use context and correct URL references 2025-12-19 20:10:16 +08:00
api.go Enhance Assistant stream functionality and remove history handling 2025-12-08 10:28:26 +08:00
collection.go Implement Knowledge Base configuration loading and enhance Assistant initialization 2025-12-08 17:08:32 +08:00
collection_test.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
consts.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
document.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
document_test.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
interfaces.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
types.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00
utils.go Add function execution support to Job system 2025-12-19 14:50:53 +08:00