mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix(acp): rename AuthMethod to AuthMethodAgent for agent-client-protocol 0.9.0
Straight rename to match the 0.9.0 API where AuthMethod was split into AuthMethodAgent, AuthMethodEnvVar, AuthMethodTerminal. Bump pin to >=0.9.0,<1.0. Co-authored-by: Mibayy <mibayy@users.noreply.github.com>
This commit is contained in:
parent
6ee90a7cf6
commit
914a7db448
2 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ import acp
|
||||||
from acp.schema import (
|
from acp.schema import (
|
||||||
AgentCapabilities,
|
AgentCapabilities,
|
||||||
AuthenticateResponse,
|
AuthenticateResponse,
|
||||||
AuthMethod,
|
AuthMethodAgent,
|
||||||
ClientCapabilities,
|
ClientCapabilities,
|
||||||
EmbeddedResourceContentBlock,
|
EmbeddedResourceContentBlock,
|
||||||
ForkSessionResponse,
|
ForkSessionResponse,
|
||||||
|
|
@ -177,7 +177,7 @@ class HermesACPAgent(acp.Agent):
|
||||||
auth_methods = None
|
auth_methods = None
|
||||||
if provider:
|
if provider:
|
||||||
auth_methods = [
|
auth_methods = [
|
||||||
AuthMethod(
|
AuthMethodAgent(
|
||||||
id=provider,
|
id=provider,
|
||||||
name=f"{provider} runtime credentials",
|
name=f"{provider} runtime credentials",
|
||||||
description=f"Authenticate Hermes using the currently configured {provider} runtime credentials.",
|
description=f"Authenticate Hermes using the currently configured {provider} runtime credentials.",
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ honcho = ["honcho-ai>=2.0.1,<3"]
|
||||||
mcp = ["mcp>=1.2.0,<2"]
|
mcp = ["mcp>=1.2.0,<2"]
|
||||||
homeassistant = ["aiohttp>=3.9.0,<4"]
|
homeassistant = ["aiohttp>=3.9.0,<4"]
|
||||||
sms = ["aiohttp>=3.9.0,<4"]
|
sms = ["aiohttp>=3.9.0,<4"]
|
||||||
acp = ["agent-client-protocol>=0.8.1,<0.9"]
|
acp = ["agent-client-protocol>=0.9.0,<1.0"]
|
||||||
dingtalk = ["dingtalk-stream>=0.1.0,<1"]
|
dingtalk = ["dingtalk-stream>=0.1.0,<1"]
|
||||||
feishu = ["lark-oapi>=1.5.3,<2"]
|
feishu = ["lark-oapi>=1.5.3,<2"]
|
||||||
rl = [
|
rl = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue