Optional
callbacksOptional partial set of callbacks for completion events, allowing customization of post-completion behavior.
The unique name of the completion mechanism within the swarm.
Optional
flagsList of flags for llm model. As example, /no_think
for lmstudio-community/Qwen3-32B-GGUF
Optional
jsonRetrieves a completion based on the provided arguments. Generates a model response using the given context and tools.
Interface representing the schema for configuring a completion mechanism. Defines how completions are generated within the swarm.