Skip to main content
Glama
bitgeese

Sequential Questioning MCP Server

by bitgeese
_compressed_traces.py860 B
import io import threading from zstandard import ZstdCompressor # type: ignore[import] from langsmith import utils as ls_utils compression_level = ls_utils.get_env_var("RUN_COMPRESSION_LEVEL", 3) class CompressedTraces: def __init__(self): self.buffer = io.BytesIO() self.trace_count = 0 self.lock = threading.Lock() self.uncompressed_size = 0 self._context = [] self.compressor_writer = ZstdCompressor( level=compression_level, threads=-1 ).stream_writer(self.buffer, closefd=False) def reset(self): self.buffer = io.BytesIO() self.trace_count = 0 self.uncompressed_size = 0 self._context = [] self.compressor_writer = ZstdCompressor( level=compression_level, threads=-1 ).stream_writer(self.buffer, closefd=False)

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/bitgeese/sequential-questioning'

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