Open
Description
Summary
Adding files as context in not effective for models without tools support.
Description
Since the latest update, when adding a file to the AI agent's context, the system now includes only the list of functions/symbols found in the file rather than the full file content. While this works well for models supporting tool calls (which can fetch the full file as needed), it creates limitations for models that do not support tool calling.
Actual Behavior:
- Files added to the AI agent's context are summarized as symbols/functions.
- Models without tool calling support cannot retrieve the full file content, leading to incomplete context.
You can check the actual context by clicking "open thread as markdown".
Expected Behavior:
- Option 1: For models without tool calling support, default to including the full file content in the context (similar to the
Text Thread
functionality). - Option 2: Provide a user-friendly way to explicitly control what is included in the context (e.g., toggle between "symbols only" and "full file").
Zed Version and System Specs
Zed: v0.185.13 (Zed)
OS: macOS 15.4.1
Memory: 32 GiB
Architecture: aarch64