MCPcopy Index your code
hub / github.com/algorithmicsuperintelligence/optillm / JSONGenerator

Class JSONGenerator

tests/test_json_plugin.py:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 PLUGIN_AVAILABLE = False
25 # Create mock classes for tests
26 class JSONGenerator:
27 def __init__(self, *args, **kwargs):
28 pass
29 def generate_json(self, *args, **kwargs):
30 return {"mocked": "result"}
31 def count_tokens(self, text):
32 return len(text.split())
33 def extract_schema_from_response_format(*args):
34 return None
35 def run(*args):

Calls

no outgoing calls