From 010c0510adea70b1e5b14b9460447b545833217b Mon Sep 17 00:00:00 2001 From: Aksh Parekh Date: Tue, 2 Sep 2025 20:32:14 -0700 Subject: [PATCH] updated sse to streamable --- .env.example | 48 ----------------------- examples/mcp/servers/okx_crypto_server.py | 2 +- 2 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index a7bd6b36..00000000 --- a/.env.example +++ /dev/null @@ -1,48 +0,0 @@ -# Framework Configuration -WORKSPACE_DIR="agent_workspace" -SWARMS_VERBOSE_GLOBAL="False" -SWARMS_API_KEY="" - -# Model Provider API Keys -## OpenAI -OPENAI_API_KEY="" - -## Anthropic -ANTHROPIC_API_KEY="" - -## Google -GEMINI_API_KEY="" - -## Hugging Face -HUGGINGFACE_TOKEN="" - -GROQ_API_KEY="" - -## Perplexity AI -PPLX_API_KEY="" - -## AI21 -AI21_API_KEY="" - -# Tool Provider API Keys -## Search Tools -BING_BROWSER_API="" -BRAVESEARCH_API_KEY="" -TAVILY_API_KEY="" -YOU_API_KEY="" - -EXA_API_KEY="" - -## Browser Automation -MULTION_API_KEY="" - -## Other Tools -HCP_APP_ID="" - -# Cloud Provider Configuration -## Azure OpenAI -AZURE_OPENAI_ENDPOINT="" -AZURE_OPENAI_DEPLOYMENT="" -OPENAI_API_VERSION="" -AZURE_OPENAI_API_KEY="" -AZURE_OPENAI_AD_TOKEN="" diff --git a/examples/mcp/servers/okx_crypto_server.py b/examples/mcp/servers/okx_crypto_server.py index a7e3247c..f082c353 100644 --- a/examples/mcp/servers/okx_crypto_server.py +++ b/examples/mcp/servers/okx_crypto_server.py @@ -117,4 +117,4 @@ def get_okx_crypto_volume(symbol: str) -> str: if __name__ == "__main__": # Run the server on port 8000 (you can change this to any available port) - mcp.run(transport="sse") + mcp.run(transport="streamable-http")