You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ECA supports contexts (`@`) and files (`#`), including images and MCP resources, which can help LLM generate output with better quality.
73
+
ECA supports contexts(`@`) including files, dirs, images, MCP resources, which can help LLM generate output with better quality/precision.
74
+
74
75
Here are the current supported contexts types:
75
76
76
77
-`file`: a file in the workspace, server will pass its content to LLM (Supports optional line range) and images.
77
78
-`directory`: a directory in the workspace, server will read all file contexts and pass to LLM.
78
79
-`cursor`: Current file path + cursor position or selection.
79
80
-`mcpResource`: resources provided by running MCPs servers.
80
81
81
-
User can include those in 3 different ways that can be used for different purposes:
82
+
Besides thoses, ECA supports filepaths(`#`) which are just file paths mentions in the user prompt.
83
+
84
+
So user can include those contexts in 3 different ways for different purposes:
82
85
83
-
-`#` in prompt: ECA will just mention the full file path in the mesage, LLM may use tools to read the file. __Useful for file path only mention in chat history__.
84
-
-`@` in prompt: ECA will append a user-message with the context full content. __Useful for chat history context__.
85
-
-`@` in context area (above prompt): ECA will use it in the instructions/system prompt of LLM request. __Useful for one-time only context__.
86
+
-`#` in user prompt: ECA will just mention the absolute file path in the user message, LLM may use tools to read the file. __Useful for file path only mention in chat history__.
87
+
-`@` in user prompt: ECA will append a user-message with the context full content. __Useful for chat history context__.
88
+
-`@` in system prompt (above user prompt): ECA will use it in the instructions/system prompt of LLM request. __Useful for one-time only context__.
0 commit comments