Skip to main content
Glama
test_chain_runner.py288 B
from tools.unified.chaining import ChainRunner def test_chain_runner_threads_context(): def s1(ctx): return {"a": 1} def s2(ctx): return {"b": ctx.get("a", 0) + 1} cr = ChainRunner([s1, s2]) out = cr.run({}) assert out["a"] == 1 and out["b"] == 2

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