Comments (5)
Change this line of code:
code_content = next((code for file, code in code_blocks if file == key), None)
to
code_content = next((code for file, code in code_blocks if os.path.basename(file) == key), None)
Essentially I had the same issue and was able to fix it because it's looking for a code block where the base name of the file (i.e., the file name without the directory path) matches the key instead of looking for a code block where the file name exactly matches the key.
from maestro.
I would check the folder your in and make it writable to everyone.
from maestro.
הייתי בודק בתיקייה שבה אתה נמצא והופך אותה לכתיבה לכולם.
It has full permissions folder it still doesn't work
from maestro.
@3DTSUS .... thanks for this. It worked.
from maestro.
@3DTSUS Thank you. That was one part of the problem for me. The other part was that the refined_output
produced didn't include the required Filename:
for each code block thus the regex didn't extract the generated code blocks so no files were written. I personally solved this by adjusting the instruction given to the model for the desired output.
from maestro.
Related Issues (20)
- Create a flask app with support for all the features and proper UI for maestro-anyapi.py
- Flask app that connects app.py, the CSS, and the templates isn't working; the server doesn't even start. Go through all the files related to the Flask app. Also, change the code so that any files related to the app are inside a folder called "flask_app". HOT 1
- HITL Human in the Loop HOT 1
- A framework for Claude Opus to intelligently orchestrate subagents.
- Add requirements.txt to repository HOT 1
- app.py can't find maestro_anyapi HOT 5
- There is no result.html in repo
- Any docs or help files? When output code doesn't work, then what? (Sorry Newby)
- not working when use proxy HOT 1
- file structure is empty HOT 4
- Can the agents use tools?
- Add AWS Bedrock as an option (at least for Claude access) HOT 1
- Feature Request: Support for Google or Bing Search API, and/or a Web Scraping Tool, and/or Implementing an Internal Rate-Limit for Models
- add gemini Context caching
- Support for Searxng in Web search?
- Orchestrating via ollama llama3-8b throws the model into a loop
- Nothing in the project folder HOT 2
- Rate Limit exceeded. Retrying after a short delay... HOT 3
- Is maestro planning to introduce ES?
- CO_API_KEY Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maestro.