Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions .github/actions/setup-compose/action.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Setup Docker Compose"
description: "Installs latest Docker Compose"
name: Setup Docker Compose
description: Installs latest Docker Compose
runs:
using: "composite"
using: composite
steps:
- name: Set up Docker Compose
uses: docker/setup-compose-action@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/a2a.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: A2A CI
on:
push:
paths:
- '.github/workflows/a2a.yaml'
- 'a2a/**'
- .github/workflows/a2a.yaml
- a2a/**
branches:
- main
pull_request:
paths:
- '.github/workflows/a2a.yaml'
- 'a2a/**'
- .github/workflows/a2a.yaml
- a2a/**

permissions:
contents: read
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/adk-cerebras.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: ADK-CEREBRAS CI
on:
push:
paths:
- '.github/workflows/adk-cerebras.yaml'
- 'adk-cerebras/**'
- .github/workflows/adk-cerebras.yaml
- adk-cerebras/**
branches:
- main
pull_request:
paths:
- '.github/workflows/adk-cerebras.yaml'
- 'adk-cerebras/**'
- .github/workflows/adk-cerebras.yaml
- adk-cerebras/**

permissions:
contents: read
Expand Down Expand Up @@ -38,6 +38,3 @@ jobs:

- name: Check lint
run: uv run ruff check

#- name: Check types
# run: uv run pyright
8 changes: 4 additions & 4 deletions .github/workflows/adk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: ADK CI
on:
push:
paths:
- '.github/workflows/adk.yaml'
- 'adk/**'
- .github/workflows/adk.yaml
- adk/**
branches:
- main
pull_request:
paths:
- '.github/workflows/adk.yaml'
- 'adk/**'
- .github/workflows/adk.yaml
- adk/**

permissions:
contents: read
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/agno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Agno CI
on:
push:
paths:
- '.github/workflows/agno.yaml'
- 'agno/**'
- .github/workflows/agno.yaml
- agno/**
branches:
- main
pull_request:
paths:
- '.github/workflows/agno.yaml'
- 'agno/**'
- .github/workflows/agno.yaml
- agno/**

permissions:
contents: read
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/crew-ai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Crew AI CI
on:
push:
paths:
- '.github/workflows/crew-ai.yaml'
- 'crew-ai/**'
- .github/workflows/crew-ai.yaml
- crew-ai/**
branches:
- main
pull_request:
paths:
- '.github/workflows/crew-ai.yaml'
- 'crew-ai/**'
- .github/workflows/crew-ai.yaml
- crew-ai/**

permissions:
contents: read
Expand All @@ -36,7 +36,7 @@ jobs:

- name: Check format
run: poetry run ruff format --check

- name: Check lint
run: poetry run ruff check

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/langgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: LangGraph CI
on:
push:
paths:
- '.github/workflows/langgraph.yaml'
- 'langgraph/**'
- .github/workflows/langgraph.yaml
- langgraph/**
branches:
- main
pull_request:
paths:
- '.github/workflows/langgraph.yaml'
- 'langgraph/**'
- .github/workflows/langgraph.yaml
- langgraph/**

permissions:
contents: read
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# .github/workflows/markdownlint.yml
name: Lint
name: Lint Markdown

on:
push:
paths:
- '**/*.md'
- '.github/workflows/markdownlint.yaml'
- "**/*.md"
- .github/workflows/markdownlint.yaml
branches:
- main
pull_request:
paths:
- '**/*.md'
- '.github/workflows/markdownlint.yaml'
- "**/*.md"
- .github/workflows/markdownlint.yaml

permissions:
contents: read
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# .github/workflows/yamllint.yml
name: Lint YAML

on:
push:
paths:
- "**/*.yaml"
- "**/*.yml"
- .github/workflows/yamllint.yaml
branches:
- main
pull_request:
paths:
- "**/*.yaml"
- "**/*.yml"
- .github/workflows/yamllint.yaml

permissions:
contents: read

jobs:
lint-yaml:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install Task
uses: arduino/setup-task@8b35f53e4d5a51bf691c94c71f2c7222483206cb

- name: Lint YAML Files
run: task lint:yaml
19 changes: 19 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
extends: default
ignore:
- "**/.venv/**"
- "**/pnpm-lock.yaml"
rules:
document-start:
present: false
line-length:
max: 1024
new-lines:
type: unix
new-line-at-end-of-file: enable
octal-values:
forbid-implicit-octal: true
quoted-strings:
required: only-when-needed
quote-type: double
truthy:
check-keys: false
8 changes: 8 additions & 0 deletions Dockerfile.tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM davidanson/markdownlint-cli2:v0.18.1 AS markdownlint

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: empty line

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks! It should be fixed now, PTAL.


FROM python:3.13-slim AS yamllint
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: python 3.14 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.14 is not yet out, check https://devguide.python.org/versions/

RUN pip install yamllint==1.37.1
WORKDIR /workdir
ENTRYPOINT [ "yamllint" ]
CMD []
33 changes: 27 additions & 6 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,42 @@
version: '3'

vars:
MARKDOWN_CLI2_CMD: docker run --rm -v $(pwd):/workdir davidanson/markdownlint-cli2:v0.18.1
version: "3"

tasks:
build:markdownlint:
desc: Build the markdownlint Docker image
cmds:
- docker build -f Dockerfile.tools -t markdownlint --target markdownlint .
dir: .
build:yamllint:
desc: Build the yamllint Docker image
cmds:
- docker build -f Dockerfile.tools -t yamllint --target yamllint .
dir: .

lint:markdown:
desc: Lint Markdown files
deps:
- build:markdownlint
cmds:
- "{{ .MARKDOWN_CLI2_CMD }}"
- docker run --rm -v $(pwd):/workdir markdownlint
dir: .
lint:markdown:fix:
desc: Lint and Fix Markdown files
deps:
- build:markdownlint
cmds:
- docker run --rm -v $(pwd):/workdir markdownlint --fix
dir: .

lint:yaml:
desc: Lint YAML files
deps:
- build:yamllint
cmds:
- "{{ .MARKDOWN_CLI2_CMD }} --fix"
- docker run --rm -v $(pwd):/workdir -w /workdir yamllint .
dir: .

lint:
deps:
- lint:markdown
- lint:yaml
desc: Lint all files
2 changes: 1 addition & 1 deletion a2a/agents/reviser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ instructions: |

* If the answer is accurate, you should output exactly the same answer text as you are given.
* If the answer is inaccurate, disputed, or unsupported, then you should output your revised answer text.
In any case YOU MUST output only your answer.
In any case YOU MUST output only your answer.

model:
name: ${LLM_AGENT_MODEL_NAME}
Expand Down
24 changes: 12 additions & 12 deletions a2a/compose.dmr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
build:
target: auditor-agent
ports:
- "8080:8080"
- 8080:8080
environment:
- CRITIC_AGENT_URL=http://critic-agent-a2a:8001
- REVISER_AGENT_URL=http://reviser-agent-a2a:8001
Expand All @@ -13,8 +13,8 @@ services:
- reviser-agent-a2a
models:
gemma3:
endpoint_var: MODEL_RUNNER_URL
model_var: MODEL_RUNNER_MODEL
endpoint_var: MODEL_RUNNER_URL
model_var: MODEL_RUNNER_MODEL

critic-agent-a2a:
build:
Expand All @@ -24,10 +24,10 @@ services:
depends_on:
- mcp-gateway
models:
gemma3:
# specify which environment variables to inject into the container
endpoint_var: MODEL_RUNNER_URL
model_var: MODEL_RUNNER_MODEL
gemma3:
# specify which environment variables to inject into the container
endpoint_var: MODEL_RUNNER_URL
model_var: MODEL_RUNNER_MODEL

reviser-agent-a2a:
build:
Expand All @@ -37,9 +37,9 @@ services:
depends_on:
- mcp-gateway
models:
gemma3:
endpoint_var: MODEL_RUNNER_URL
model_var: MODEL_RUNNER_MODEL
gemma3:
endpoint_var: MODEL_RUNNER_URL
model_var: MODEL_RUNNER_MODEL

mcp-gateway:
# mcp-gateway secures your MCP servers
Expand All @@ -56,5 +56,5 @@ models:
# declare LLM models to pull and use
gemma3:
model: ai/gemma3:4B-Q4_0
context_size: 10000 # 3.5 GB VRAM
#context_size: 131000 # 7.6 GB VRAM
context_size: 10000 # 3.5 GB VRAM
# context_size: 131000 # 7.6 GB VRAM
8 changes: 4 additions & 4 deletions a2a/compose.offload.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
models:
gemma3:
# pre-pull the model on Docker Model Runner
model: ai/gemma3-qat:27B-Q4_K_M
context_size: 10000 # 18.6 GB VRAM
# context_size: 80000 # 28.37 GB VRAM
# context_size: 131000 # 35.5 GB VRAM
model: ai/gemma3-qat:27B-Q4_K_M
context_size: 10000 # 18.6 GB VRAM
# context_size: 80000 # 28.37 GB VRAM
# context_size: 131000 # 35.5 GB VRAM
2 changes: 1 addition & 1 deletion a2a/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
build:
target: auditor-agent
ports:
- "8080:8080"
- 8080:8080
environment:
- CRITIC_AGENT_URL=http://critic-agent-a2a:8001
- REVISER_AGENT_URL=http://reviser-agent-a2a:8001
Expand Down
Loading