Doriandarko / claude-engineer

Claude Engineer is an interactive command-line interface (CLI) that leverages the power of Anthropic's Claude-3.5-Sonnet model to assist with software development tasks. This tool combines the capabilities of a large language model with practical file system operations and web search functionality.
9.29k stars 988 forks source link

Files and folder structure get confused. #193

Closed brianlmerritt closed 2 weeks ago

brianlmerritt commented 2 weeks ago

After the prompt below, claude-engineer thought it had created the file directory structure but nothing was there. When I asked (second prompt), it created the files in a subfolder called "LANGCHAIN_RAG"

Create a LangChain LLM RAG with semantic chunking and agentic reranking to a Weiviate vector store on the usual port. Core functions are segment_text, update_segmented_text (where an existing document has been updated) and search_best_results (perform retrieval functions)

No files were created so I typed I don't see any files here

A LANGCHAIN_RAG directory was created, files created, but from that point commands might do things like overwrite the parent directory (.env file was trashed).

Should I spell out the project directory in the first command so files and folders are set up properly? It couldn't find the files when I closed the terminal and reopened.

(Note: This also raises the question of doing multiple projects - do I have to clone one copy per project?)

This project is awesome! Will be trying the openai one as well and see how they copy with the same input.

nsdevaraj commented 2 weeks ago

https://aider.chat try this

brianlmerritt commented 2 weeks ago

I think where I went wrong was in starting in auto mode. /create makes a perfectly good project base. I was interested in getting @Doriandarko feedback if time permits.

brianlmerritt commented 2 weeks ago

Closing this ticket as I believe starting the project with /create is better and then can use automode later if needed.