Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/smoketest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
MODEL_TEMP: ${{ vars.SMOKETEST_TEMPERATURE }}
AI_API_ENDPOINT: ${{ vars.SMOKETEST_ENDPOINT }}
AI_API_TOKEN: ${{ secrets.AI_API_TOKEN }}
GITHUB_AUTH_HEADER: "Bearer ${{ secrets.GITHUB_TOKEN }}"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

run: |
source .venv/bin/activate
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ server_params:
url: https://api.githubcopilot.com/mcp/
#See https://github.com/github/github-mcp-server/blob/main/docs/remote-server.md
headers:
Authorization: "{{ env('GITHUB_AUTH_HEADER') }}"
Authorization: "Bearer {{ env('GH_TOKEN') }}"
optional_headers:
X-MCP-Toolsets: "{{ env('GITHUB_MCP_TOOLSETS') }}"
X-MCP-Readonly: "{{ env('GITHUB_MCP_READONLY') }}"
Expand Down
2 changes: 1 addition & 1 deletion docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# git clone https://github.com/GitHubSecurityLab/seclab-taskflow-agent.git
# cd seclab-taskflow-agent/src
# export AI_API_TOKEN=<My GitHub PAT>
# export GITHUB_AUTH_HEADER=<My GitHub PAT>
# export GH_TOKEN=<My GitHub PAT>
# sudo -E ../docker/run.sh -p seclab_taskflow_agent.personalities.assistant 'explain modems to me please'

touch -a .env
Expand Down
4 changes: 2 additions & 2 deletions src/seclab_taskflow_agent/toolboxes/github_official.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ server_params:
url: https://api.githubcopilot.com/mcp/
#See https://github.com/github/github-mcp-server/blob/main/docs/remote-server.md
headers:
Authorization: "{{ env('GITHUB_AUTH_HEADER') }}"
Authorization: "Bearer {{ env('GH_TOKEN') }}"
optional_headers:
X-MCP-Toolsets: "{{ env('GITHUB_MCP_TOOLSETS') }}"
X-MCP-Readonly: "{{ env('GITHUB_MCP_READONLY') }}"
X-MCP-Readonly: "{{ env('GITHUB_MCP_READONLY') }}"