yao/agent/context
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
..
authorized_test.go Refactor context initialization and enhance tool call handling 2025-11-30 16:40:45 +08:00
chat.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
chat_test.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
context.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
context_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
interfaces.go Refactor message handling to support individual message lifecycle events 2025-11-26 19:03:47 +08:00
interrupt.go Refine interrupt handling and streamline completion request validation 2025-11-24 12:01:43 +08:00
interrupt_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
jsapi.go Enhance content processing with forceUses configuration 2025-12-06 17:38:21 +08:00
JSAPI.md Implement EndBlock method and enhance message lifecycle management 2025-11-30 15:09:27 +08:00
jsapi_helpers.go Refactor message handling for improved streaming and event management 2025-11-26 18:30:43 +08:00
jsapi_mcp.go Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +08:00
jsapi_mcp_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
JSAPI_OUTPUT.md Enhance streaming and grouping functionality in Assistant 2025-11-26 11:00:52 +08:00
jsapi_output_test.go Refactor context initialization and enhance tool call handling 2025-11-30 16:40:45 +08:00
jsapi_release_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
jsapi_space_test.go Enhance content processing with forceUses configuration 2025-12-06 17:38:21 +08:00
jsapi_stress_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
jsapi_test.go Enhance context handling in MCP tests and JS API 2025-12-05 20:20:21 +08:00
mcp.go Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +08:00
mcp_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
message.go Implement thread-safe message and block metadata storage 2025-12-01 08:35:38 +08:00
message_events_test.go Refactor context initialization and enhance tool call handling 2025-11-30 16:40:45 +08:00
message_test.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
openapi.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
openapi_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
options.go Enhance Assistant methods with options parameter for improved context management 2025-12-04 12:03:00 +08:00
output.go Enhance Assistant methods with options parameter for improved context management 2025-12-04 12:03:00 +08:00
RESOURCE_MANAGEMENT.md Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +08:00
stack.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
stack_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
types.go Enhance content processing with forceUses configuration 2025-12-06 17:38:21 +08:00
types_llm.go Enhance content processing with forceUses configuration 2025-12-06 17:38:21 +08:00
utils.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00