Skip to content

Commit 0d2d4c1

Browse files
authored
Merge pull request #120 from Fr4nc3/main
Agent invoke fix
2 parents 1d056a6 + e6f9a47 commit 0d2d4c1

File tree

85 files changed

+16739
-146
lines changed

Some content is hidden

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

85 files changed

+16739
-146
lines changed

.devcontainer/devcontainer.json

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,48 @@
11
{
22
"name": "Multi Agent Custom Automation Engine Solution Accelerator",
3-
"image": "mcr.microsoft.com/devcontainers/python:3.10",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
44
"features": {
5-
"ghcr.io/devcontainers/features/azure-cli:1.0.8": {},
5+
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
66
"ghcr.io/azure/azure-dev/azd:latest": {},
7-
"ghcr.io/rchaganti/vsc-devcontainer-features/azurebicep:1.0.5": {}
7+
"ghcr.io/devcontainers/features/node:1": {},
8+
"ghcr.io/devcontainers/features/azure-cli:1": {},
9+
"ghcr.io/jsburckhardt/devcontainer-features/uv:1": {}
810
},
9-
10-
"postCreateCommand": "sudo chmod +x .devcontainer/setupEnv.sh && ./.devcontainer/setupEnv.sh",
11-
1211
"customizations": {
1312
"vscode": {
1413
"extensions": [
14+
"dbaeumer.vscode-eslint",
15+
"esbenp.prettier-vscode",
16+
"GitHub.vscode-github-actions",
1517
"ms-azuretools.azure-dev",
18+
"ms-azuretools.vscode-azurefunctions",
1619
"ms-azuretools.vscode-bicep",
17-
"ms-python.python"
18-
]
19-
},
20-
"codespaces": {
21-
"openFiles": [
22-
"README.md"
20+
"ms-azuretools.vscode-docker",
21+
"ms-vscode.js-debug",
22+
"ms-vscode.vscode-node-azure-pack",
23+
"charliermarsh.ruff",
24+
"exiasr.hadolint",
25+
"kevinrose.vsc-python-indent",
26+
"mosapride.zenkaku",
27+
"ms-python.python",
28+
"njpwerner.autodocstring",
29+
"redhat.vscode-yaml",
30+
"shardulm94.trailing-spaces",
31+
"tamasfe.even-better-toml",
32+
"yzhang.markdown-all-in-one",
33+
"ms-vscode.azure-account"
2334
]
2435
}
2536
},
26-
37+
"postCreateCommand": "bash ./.devcontainer/setupEnv.sh",
38+
"containerEnv": {
39+
"DISPLAY": "dummy",
40+
"PYTHONUNBUFFERED": "True",
41+
"UV_LINK_MODE": "copy",
42+
"UV_PROJECT_ENVIRONMENT": "/home/vscode/.venv"
43+
},
2744
"remoteUser": "vscode",
2845
"hostRequirements": {
2946
"memory": "8gb"
3047
}
31-
}
48+
}

.devcontainer/setupEnv.sh

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
#!/bin/bash
22

3-
pip install --upgrade pip
3+
cd ./src/backend
4+
uv add -r requirements.txt
45

6+
cd ../frontend
7+
uv add -r requirements.txt
58

6-
(cd ./src/frontend; pip install -r requirements.txt)
9+
cd ..
710

811

9-
(cd ./src/backend; pip install -r requirements.txt)
12+
13+
14+
15+
16+
17+
# pip install --upgrade pip
18+
19+
20+
# (cd ./src/frontend; pip install -r requirements.txt)
21+
22+
23+
# (cd ./src/backend; pip install -r requirements.txt)
1024

1125

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Azure Template Validation
2+
on:
3+
push:
4+
branches:
5+
- dev
6+
- main
7+
- feature/azd-semantickernel
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
id-token: write
13+
pull-requests: write
14+
15+
jobs:
16+
template_validation_job:
17+
runs-on: ubuntu-latest
18+
name: Template validation
19+
20+
steps:
21+
# Step 1: Checkout the code from your repository
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
25+
# Step 2: Validate the Azure template using microsoft/template-validation-action
26+
- name: Validate Azure Template
27+
uses: microsoft/[email protected]
28+
id: validation
29+
env:
30+
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
31+
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
32+
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
33+
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
34+
AZURE_ENV_NAME: ${{ secrets.AZURE_ENV_NAME }}
35+
AZURE_LOCATION: ${{ secrets.AZURE_LOCATION }}
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
38+
# Step 3: Print the result of the validation
39+
- name: Print result
40+
run: cat ${{ steps.validation.outputs.resultFile }}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,4 +456,6 @@ __pycache__/
456456
*.xsd.cs
457457

458458
*.whl
459-
!autogen_core-0.3.dev0-py3-none-any.whl
459+
!autogen_core-0.3.dev0-py3-none-any.whl
460+
.azure
461+
.github/copilot-instructions.md
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "."
5+
},
6+
// {
7+
// "path": "./src/frontend"
8+
// },
9+
// {
10+
// "path": "./src/backend"
11+
// }
12+
]
13+
}

0 commit comments

Comments
 (0)