opencode/internal/llm
Sam Ottenhoff f3dccad54b Handle new Cursor rules format
1. Check if a path ends with a slash (/)
2. If it does, treat it as a directory and read all files within it
3. For directories like .cursor/rules/, it will scan all files and include their content in the prompt
4. Each file from a directory will be prefixed with "# From filename" for clarity
2025-04-27 14:17:06 +02:00
..
agent small fixes 2025-04-25 14:42:47 +02:00
models feat(groq): add support for Groq using the OpenAI provider 2025-04-25 11:11:52 +02:00
prompt Handle new Cursor rules format 2025-04-27 14:17:06 +02:00
provider fix retry warning 2025-04-27 14:08:09 +02:00
tools use workingDir if shellInstance is nil otherwise use cwd if shellInstance is not nil 2025-04-27 13:46:59 +02:00