Skip to content

Commit 2f0bfb5

Browse files
Merge pull request #521 from MervinPraison/develop
Restructure
2 parents 0f37e37 + e597c4a commit 2f0bfb5

File tree

110 files changed

+34
-2675
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+34
-2675
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ jobs:
2424
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python-version }}
27+
2728
- name: Install dependencies
2829
run: |
30+
cd src/praisonai
2931
python -m pip install --upgrade pip
3032
python -m pip install flake8 pytest
3133
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

.github/workflows/python-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ jobs:
3131
python -m pip install --upgrade pip
3232
pip install build
3333
- name: Build package
34-
run: python -m build
34+
run: python -m build src/praisonai
3535
- name: Publish package
3636
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3737
with:
3838
user: __token__
3939
password: ${{ secrets.PYPI_API_TOKEN }}
40+
packages_dir: src/praisonai/dist/

.github/workflows/test-comprehensive.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ jobs:
4444
curl -LsSf https://astral.sh/uv/install.sh | sh
4545
echo "$HOME/.local/bin" >> $GITHUB_PATH
4646
47+
4748
- name: Install dependencies
4849
run: |
50+
cd src/praisonai
4951
uv pip install --system ."[ui,gradio,api,agentops,google,openai,anthropic,cohere,chat,code,realtime,call,crewai,autogen]"
5052
uv pip install --system duckduckgo_search
5153
uv pip install --system pytest pytest-asyncio pytest-cov pytest-benchmark
@@ -55,7 +57,6 @@ jobs:
5557
echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY || 'sk-test-key-for-github-actions-testing-only-not-real' }}" >> $GITHUB_ENV
5658
echo "OPENAI_API_BASE=${{ secrets.OPENAI_API_BASE || 'https://api.openai.com/v1' }}" >> $GITHUB_ENV
5759
echo "OPENAI_MODEL_NAME=${{ secrets.OPENAI_MODEL_NAME || 'gpt-4o-mini' }}" >> $GITHUB_ENV
58-
echo "PYTHONPATH=${{ github.workspace }}/src/praisonai-agents:$PYTHONPATH" >> $GITHUB_ENV
5960
6061
- name: Run Comprehensive Test Suite
6162
run: |

.github/workflows/test-core.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ jobs:
2727
curl -LsSf https://astral.sh/uv/install.sh | sh
2828
echo "$HOME/.local/bin" >> $GITHUB_PATH
2929
30+
3031
- name: Install dependencies
3132
run: |
33+
cd src/praisonai
3234
uv pip install --system ."[ui,gradio,api,agentops,google,openai,anthropic,cohere,chat,code,realtime,call,crewai,autogen]"
3335
uv pip install --system duckduckgo_search
3436
uv pip install --system pytest pytest-asyncio pytest-cov
@@ -38,11 +40,10 @@ jobs:
3840
echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY || 'sk-test-key-for-github-actions-testing-only-not-real' }}" >> $GITHUB_ENV
3941
echo "OPENAI_API_BASE=${{ secrets.OPENAI_API_BASE || 'https://api.openai.com/v1' }}" >> $GITHUB_ENV
4042
echo "OPENAI_MODEL_NAME=${{ secrets.OPENAI_MODEL_NAME || 'gpt-4o-mini' }}" >> $GITHUB_ENV
41-
echo "PYTHONPATH=${{ github.workspace }}/src/praisonai-agents:$PYTHONPATH" >> $GITHUB_ENV
4243
4344
- name: Run Unit Tests
4445
run: |
45-
python -m pytest tests/unit/ -v --tb=short --disable-warnings --cov=praisonaiagents --cov-report=term-missing
46+
python -m pytest tests/unit/ -v --tb=short --disable-warnings --cov=praisonai --cov-report=term-missing
4647
4748
- name: Run Integration Tests
4849
run: |

.github/workflows/test-extended.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ jobs:
2828
curl -LsSf https://astral.sh/uv/install.sh | sh
2929
echo "$HOME/.local/bin" >> $GITHUB_PATH
3030
31+
3132
- name: Install dependencies
3233
run: |
34+
cd src/praisonai
3335
uv pip install --system ."[ui,gradio,api,agentops,google,openai,anthropic,cohere,chat,code,realtime,call,crewai,autogen]"
3436
uv pip install --system duckduckgo_search
3537
@@ -84,8 +86,10 @@ jobs:
8486
curl -LsSf https://astral.sh/uv/install.sh | sh
8587
echo "$HOME/.local/bin" >> $GITHUB_PATH
8688
89+
8790
- name: Install dependencies
8891
run: |
92+
cd src/praisonai
8993
uv pip install --system ."[ui,gradio,api,agentops,google,openai,anthropic,cohere,chat,code,realtime,call,crewai,autogen]"
9094
uv pip install --system pytest pytest-benchmark
9195

.github/workflows/test-frameworks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ jobs:
4343
curl -LsSf https://astral.sh/uv/install.sh | sh
4444
echo "$HOME/.local/bin" >> $GITHUB_PATH
4545
46+
4647
- name: Install dependencies
4748
run: |
49+
cd src/praisonai
4850
uv pip install --system ."[ui,gradio,api,agentops,google,openai,anthropic,cohere,chat,code,realtime,call,crewai,autogen]"
4951
uv pip install --system duckduckgo_search
5052
uv pip install --system pytest pytest-asyncio pytest-cov
@@ -54,7 +56,6 @@ jobs:
5456
echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY || 'sk-test-key-for-github-actions-testing-only-not-real' }}" >> $GITHUB_ENV
5557
echo "OPENAI_API_BASE=${{ secrets.OPENAI_API_BASE || 'https://api.openai.com/v1' }}" >> $GITHUB_ENV
5658
echo "OPENAI_MODEL_NAME=${{ secrets.OPENAI_MODEL_NAME || 'gpt-4o-mini' }}" >> $GITHUB_ENV
57-
echo "PYTHONPATH=${{ github.workspace }}/src/praisonai-agents:$PYTHONPATH" >> $GITHUB_ENV
5859
5960
- name: Test ${{ matrix.framework }} Framework
6061
run: |

.github/workflows/test-real.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ jobs:
5252
curl -LsSf https://astral.sh/uv/install.sh | sh
5353
echo "$HOME/.local/bin" >> $GITHUB_PATH
5454
55+
5556
- name: Install dependencies
5657
run: |
58+
cd src/praisonai
5759
uv pip install --system ."[ui,gradio,api,agentops,google,openai,anthropic,cohere,chat,code,realtime,call,crewai,autogen]"
5860
uv pip install --system pytest pytest-asyncio pytest-cov
5961
@@ -62,7 +64,6 @@ jobs:
6264
echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" >> $GITHUB_ENV
6365
echo "ANTHROPIC_API_KEY=${{ secrets.ANTHROPIC_API_KEY }}" >> $GITHUB_ENV
6466
echo "GOOGLE_API_KEY=${{ secrets.GOOGLE_API_KEY }}" >> $GITHUB_ENV
65-
echo "PYTHONPATH=${{ github.workspace }}/src/praisonai-agents:$PYTHONPATH" >> $GITHUB_ENV
6667
6768
- name: Verify API Keys
6869
run: |

.github/workflows/unittest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ jobs:
2020
curl -LsSf https://astral.sh/uv/install.sh | sh
2121
echo "$HOME/.local/bin" >> $GITHUB_PATH
2222
23+
2324
- name: Install dependencies
2425
run: |
26+
cd src/praisonai
2527
uv pip install --system ."[ui,gradio,api,agentops,google,openai,anthropic,cohere,chat,code,realtime,call,crewai,autogen]"
2628
uv pip install --system duckduckgo_search
2729
uv pip install --system pytest pytest-asyncio pytest-cov

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,4 @@ agents/praisonaiagents/praisonaiagents.egg-info
7272
.praison
7373
# Local Netlify folder
7474
.netlify
75+
.qodo

praisonai/ui/config/.chainlit/config.toml

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)