Finish the rename in the prose

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Stéphane Tailland
2026-08-31 15:06:42 +02:00
parent 7ec4ffad37
commit bc83df3ed0
7 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ completed task is the wrong shape for "a human has to look at this".
| | |
|---|---|
| `ADAPTER_AGENT_NAME` | `approvisionnement` |
| `ADAPTER_AGENT_NAME` | `supply` |
| `ADAPTER_AGENT_DESCRIPTION` | what the card says it is |
| `ADAPTER_SKILL_ID` | `check_availability` |
| `ADAPTER_SKILL_NAME`, `_DESCRIPTION`, `_EXAMPLES` | the card's one skill; examples are newline-separated |
+2 -2
View File
@@ -2,7 +2,7 @@
Both n8n agents get the same image and differ only by environment. That is the
point: the A2A surface is identical for every agent in the estate, and what
distinguishes Approvisionnement from Recouvrement is the workflow behind the
distinguishes the supply agent from the collections agent is the workflow behind the
webhook, not the protocol in front of it.
Nothing here is a secret. The adapter forwards the end user's token and holds
@@ -21,7 +21,7 @@ class Settings(BaseSettings):
model_config = SettingsConfigDict(env_prefix="ADAPTER_", env_file=".env")
# --- who this instance is ------------------------------------------------
agent_name: str = Field(..., description="e.g. approvisionnement")
agent_name: str = Field(..., description="e.g. supply")
agent_description: str = Field(...)
agent_version: str = "0.1.0"
+3 -3
View File
@@ -16,7 +16,7 @@ from a2a_n8n_adapter.server import Outcome, _read, build_agent_card
def settings(**over) -> Settings:
base = dict(
agent_name="approvisionnement",
agent_name="supply",
agent_description="Supply decisions.",
skill_id="check_availability",
skill_name="Check availability",
@@ -80,8 +80,8 @@ class TestAgentCard:
assert len(card.skills[0].examples) == 2
def test_the_card_advertises_the_public_url_not_the_bind_address(self) -> None:
card = build_agent_card(settings(public_url="http://approvisionnement.agents:8080/"))
assert card.supported_interfaces[0].url == "http://approvisionnement.agents:8080/"
card = build_agent_card(settings(public_url="http://supply-agent.agents:8080/"))
assert card.supported_interfaces[0].url == "http://supply-agent.agents:8080/"
class TestSubjectToken: