manage.py export_llmclient_deployment_schema

Write the JSON Schema of the LLMClient deployment page’s contract.

class smarter.apps.llmclient.management.commands.export_llmclient_deployment_schema.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: SmarterCommand

Django manage.py export_llmclient_deployment_schema command.

handle(*args, **options)[source]

Write the deployment page’s JSON Schema to SCHEMA_PATH, and print the path.

Parameters:
  • args – Positional arguments (unused).

  • options – The parsed options (unused).

help = "Write the JSON Schema of an LLMClient's deployment page, from which @smarter/llmclient-deployment generates its TypeScript types, to smarter/apps/llmclient/views/llmclient-deployment.schema.json."