File tree Expand file tree Collapse file tree 7 files changed +42
-5
lines changed
Expand file tree Collapse file tree 7 files changed +42
-5
lines changed Original file line number Diff line number Diff line change 1818 task : ' tests'
1919 - name : ' Run Ruff'
2020 task : ' lint'
21+ - name : ' Build docs'
22+ task : ' build-docs'
2123 name : ${{ matrix.variant.name }}
2224 runs-on : ubuntu-latest
2325 steps :
Original file line number Diff line number Diff line change 1+ name : Deploy Documentation
2+ on :
3+ push :
4+ branches :
5+ - main
6+ permissions :
7+ contents : write
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout Repository
13+ uses : actions/checkout@v4
14+ - name : Configure Git Credentials
15+ run : |
16+ git config user.name github-actions[bot]
17+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18+ - name : Install uv
19+ uses : astral-sh/setup-uv@v5
20+ - name : Install Task
21+ uses : arduino/setup-task@v2
22+ - name : Deploy Documentation
23+ run : task deploy-docs
Original file line number Diff line number Diff line change 1+ # Agents module
2+
3+ ::: redpanda.agents
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # Runtime module
2+
3+ ::: redpanda.runtime
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ plugins:
2525 - mkdocstrings :
2626 handlers :
2727 python :
28- paths : ["src/agents"]
28+ paths :
29+ - " src/redpanda"
2930 options :
3031 docstring_style : google
3132 # Shows links to other members in signatures
@@ -69,4 +70,4 @@ validation:
6970 anchors : warn
7071
7172watch :
72- - " src/agents "
73+ - " src/redpanda "
Original file line number Diff line number Diff line change 1919
2020
2121async def serve (agent : Agent ) -> None :
22+ """
23+ Serve an agent as a Redpanda Connect processor plugin.
24+
25+ This method runs for the entire lifetime of the server.
26+
27+ Args:
28+ agent: The agent to serve.
29+ """
2230 addr = os .getenv ("REDPANDA_CONNECT_AGENT_RUNTIME_MCP_SERVER" )
2331 if addr :
2432 agent .mcp .append (SSEMCPEndpoint (addr ))
You can’t perform that action at this time.
0 commit comments