apple muncy commited on
Commit
3574bd7
·
1 Parent(s): c4045aa

switch to streamable http

Browse files

Signed-off-by: apple muncy <apple@dell-deb-12-5.local>

Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -106,6 +106,7 @@ async def get_agent():
106
  provider=DEFAULT_PROVIDER,
107
  api_key=HF_TOKEN,
108
  servers=[
 
109
  {
110
  "type": "stdio",
111
  "config": {
@@ -115,6 +116,14 @@ async def get_agent():
115
  "env": {"HF_TOKEN": HF_TOKEN} if HF_TOKEN else {},
116
  },
117
  }
 
 
 
 
 
 
 
 
118
  ],
119
  )
120
  print("✅ Agent instance created successfully")
 
106
  provider=DEFAULT_PROVIDER,
107
  api_key=HF_TOKEN,
108
  servers=[
109
+ """
110
  {
111
  "type": "stdio",
112
  "config": {
 
116
  "env": {"HF_TOKEN": HF_TOKEN} if HF_TOKEN else {},
117
  },
118
  }
119
+ """
120
+ {
121
+ "type": "http",
122
+ "config": {
123
+ "url": "https://applemuncy-tag2server.hf.space/mcp/",
124
+ }
125
+ }
126
+
127
  ],
128
  )
129
  print("✅ Agent instance created successfully")