Skip to main content
Glama
test_streaming_demo_tool.py324 B
from tools.streaming_demo_tool import run_stream def test_streaming_demo_tool_modes(): r1 = run_stream("hello", provider="moonshot", stream=False) assert r1["stream"] is False and r1["text"] r2 = run_stream("hello", provider="zai", stream=True) assert r2["stream"] is True and isinstance(r2["text"], str)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zazzles2908/EX_AI-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server