Visitar URL original
session/resume and session/close are gated as unstable and unreachable for v1 through AgentProtocolRouter · Issue #160 · agentclientprotocol/python-sdk · GitHub
Skip to content

session/resume and session/close are gated as unstable and unreachable for v1 through AgentProtocolRouter #160

Description

@ayushin

agent-client-protocol 1.0.0rc2.

  • Agent.resume_session and Agent.close_session are declared with unstable=True (acp/interfaces.py), so they are only routed when the agent is attached with use_unstable_protocol=True. The v1 schema's stable meta.json lists both session/resume and session/close.
  • AgentProtocolRouter attaches the v1 agent with V1AgentSideConnection.attach(self._v1_agent, connection) (acp/experimental/negotiation.py) and has no way to pass use_unstable_protocol. Through the router, a v1 client calling session/resume or session/close gets "Method not found" even when the agent implements them.

Expected: stable methods routed by default, and the router able to pass the flag to the v1 attachment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions