-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OpenAI integration with CLI for generating Mermaid diagrams. #8
base: main
Are you sure you want to change the base?
Conversation
@BaoLiqi is attempting to deploy a commit to the Ahmed Khaleel's projects Team on Vercel. A member of the Team first needs to authorize it. |
backend/cli/local_git.py
Outdated
excluded_patterns = [ | ||
'node_modules', 'vendor', 'venv', | ||
'.min.', '.pyc', '.pyo', '.pyd', '.so', '.dll', '.class', ".o", | ||
'.jpg', '.jpeg', '.png', '.gif', '.ico', '.svg', '.ttf', '.woff', '.webp', | ||
'.pdf', '.xml', '.wav', '.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx', ".txt", ".log", | ||
'__pycache__', '.cache', '.tmp', | ||
'yarn.lock', 'poetry.lock', | ||
'.vscode', '.idea', '.git', "test", "activate" | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be an idea to respect the local .gitignore
contents as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the feedback! 👍 I’ve gone ahead and updated the code to respect the local .gitignore contents.
#5 #4
I tested my fork with the model 'deepseek/deepseek-chat' on OpenRouter.
It seems that the generated diagram is heavily influenced by the contents of the README file, as my changes did not appear in the output.
To confirm this, I removed my local README file, tested again, and obtained the following diagram, which looks improved.