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
create_bench_test.go
create_mem_test.go
create_nested_test.go
create_test.go
goroutine_leak_test.go
hook.go
next.go
next_test.go
realworld_next_test.go
REALWORLD_PERFORMANCE_REPORT.md
realworld_stress_test.go
script.go
types.go