yao/agent/assistant/hook
Max 666c1e8d74 Enhance content processing with forceUses configuration
- Updated the Vision function and associated handlers to accept a forceUses parameter, allowing explicit control over the use of external tools regardless of model capabilities.
- Modified the Assistant's BuildContent method to set the AssistantID in the context for better file tracking.
- Enhanced the applyCreateResponseOptions method to merge and prioritize Uses and ForceUses configurations from the createResponse.
- Added comprehensive tests to validate the adjustment of Uses and ForceUses configurations through hooks, ensuring correct application in content processing.
2025-12-06 17:38:21 +08:00
..
create.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
create_bench_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
create_mem_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
create_nested_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
create_test.go Enhance content processing with forceUses configuration 2025-12-06 17:38:21 +08:00
goroutine_leak_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
hook.go Refactor Assistant methods and context handling for improved functionality 2025-11-13 09:26:45 +08:00
next.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
next_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
realworld_next_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
REALWORLD_PERFORMANCE_REPORT.md Enhance memory leak tests and performance reporting in stress tests 2025-11-28 21:09:27 +08:00
realworld_stress_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
script.go Refactor agent and assistant structure for improved clarity and performance 2025-11-30 11:47:25 +08:00
types.go Refactor Assistant methods and context handling for improved functionality 2025-11-13 09:26:45 +08:00