-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Restructure #521
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
Restructure #521
Changes from all commits
45c0596
c3403ab
7bff809
38c6941
e597c4a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,8 +52,10 @@ jobs: | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | ||
| echo "$HOME/.local/bin" >> $GITHUB_PATH | ||
|
|
||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| cd src/praisonai | ||
| uv pip install --system ."[ui,gradio,api,agentops,google,openai,anthropic,cohere,chat,code,realtime,call,crewai,autogen]" | ||
| uv pip install --system pytest pytest-asyncio pytest-cov | ||
|
|
||
|
Comment on lines
+58
to
61
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Use step-level - name: Install dependencies
working-directory: src/praisonai
run: |
uv pip install --system ."[…]"
uv pip install --system pytest pytest-asyncio pytest-covThis ensures all installs occur in the intended directory. 🤖 Prompt for AI Agents |
||
|
|
@@ -62,7 +64,6 @@ jobs: | |
| echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" >> $GITHUB_ENV | ||
| echo "ANTHROPIC_API_KEY=${{ secrets.ANTHROPIC_API_KEY }}" >> $GITHUB_ENV | ||
| echo "GOOGLE_API_KEY=${{ secrets.GOOGLE_API_KEY }}" >> $GITHUB_ENV | ||
| echo "PYTHONPATH=${{ github.workspace }}/src/praisonai-agents:$PYTHONPATH" >> $GITHUB_ENV | ||
|
|
||
| - name: Verify API Keys | ||
| run: | | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,3 +72,4 @@ agents/praisonaiagents/praisonaiagents.egg-info | |
| .praison | ||
| # Local Netlify folder | ||
| .netlify | ||
| .qodo | ||
This file was deleted.
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.
🛠️ Refactor suggestion
Scope core dependency installs with
working-directoryAs with other workflows, the
cd src/praisonaihere is ephemeral. Use theworking-directoryfield on theInstall dependenciesstep to guarantee the correct context.🤖 Prompt for AI Agents