diff --git a/docs/getting-started/complete-workflow.md b/docs/getting-started/complete-workflow.md index 9e626d4..b2f6323 100644 --- a/docs/getting-started/complete-workflow.md +++ b/docs/getting-started/complete-workflow.md @@ -312,7 +312,7 @@ async def agent_card(): if __name__ == "__main__": import uvicorn - uvicorn.run(app, host="0.0.0.0", port=3000) + uvicorn.run(app, host="127.0.0.1", port=3000) ``` ```bash diff --git a/docs/getting-started/secure/2-sdk.md b/docs/getting-started/secure/2-sdk.md index c01bb13..49949d0 100644 --- a/docs/getting-started/secure/2-sdk.md +++ b/docs/getting-started/secure/2-sdk.md @@ -89,7 +89,7 @@ async def handle_message(request: Request): if __name__ == "__main__": import uvicorn - uvicorn.run(app, host="0.0.0.0", port=8000) + uvicorn.run(app, host="127.0.0.1", port=8000) ``` Test it: @@ -176,7 +176,7 @@ async def handle_message(request: Request): if __name__ == "__main__": import uvicorn - uvicorn.run(app, host="0.0.0.0", port=8000) + uvicorn.run(app, host="127.0.0.1", port=8000) ``` --- diff --git a/docs/getting-started/secure/4-test.md b/docs/getting-started/secure/4-test.md index 9e03a91..0564d0d 100644 --- a/docs/getting-started/secure/4-test.md +++ b/docs/getting-started/secure/4-test.md @@ -23,7 +23,7 @@ You should see: INFO: Started server process INFO: Waiting for application startup. INFO: Application startup complete. -INFO: Uvicorn running on http://0.0.0.0:8000 +INFO: Uvicorn running on http://127.0.0.1:8000 ``` --- diff --git a/docs/how-to/integrations/flask.md b/docs/how-to/integrations/flask.md index f2fd32a..1b05ac1 100644 --- a/docs/how-to/integrations/flask.md +++ b/docs/how-to/integrations/flask.md @@ -75,7 +75,7 @@ def handle_task(): return response if __name__ == "__main__": - app.run(host="0.0.0.0", port=8000) + app.run(host="127.0.0.1", port=8000) ``` --- @@ -160,7 +160,7 @@ def agent_card(): return jsonify(json.load(f)) if __name__ == "__main__": - app.run(host="0.0.0.0", port=8000) + app.run(host="127.0.0.1", port=8000) ``` ### Step 4: Run the Application diff --git a/docs/samples.md b/docs/samples.md index 2ab2a44..a0ff6d2 100644 --- a/docs/samples.md +++ b/docs/samples.md @@ -242,7 +242,7 @@ async def handle_a2a(request: Request): if __name__ == "__main__": import uvicorn - uvicorn.run(app, host="0.0.0.0", port=8000) + uvicorn.run(app, host="127.0.0.1", port=8000) ``` [:material-download: Download secure_agent.py](assets/samples/secure_agent.py){ .md-button } diff --git a/mkdocs.yml b/mkdocs.yml index e7adfd6..66b4e40 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -144,7 +144,7 @@ hooks: - hooks/version_vars.py extra: - capiscio_version: "2.6.0" + capiscio_version: "2.7.0" protocol_version: "0.3.0" homepage: https://docs.capisc.io # Analytics: Cloudflare Pages auto-injects Web Analytics at the edge