SumoSettings Reference¶
sumospace.settings.SumoSettings ¶
Bases: BaseSettings
Centralized configuration layer for SumoSpace. Values are populated in this order of precedence: 1. Explicit keyword arguments on instantiation 2. Environment variables (e.g. SUMO_PROVIDER) 3. Values loaded from a .env file 4. Default values defined here
auto_load_hooks class-attribute instance-attribute ¶
If True, automatically load hooks from .sumo_hooks.py in the workspace. Only enable if you trust the contents of your workspace directory.
for_chat classmethod ¶
Conversational chat with memory but no planning or tool execution. Use this for multi-turn conversations where the model needs to remember what was said earlier in the session. No committee, no RAG, no tool calls. Fast response times.
Source code in sumospace/settings.py
for_chat_stateless classmethod ¶
Pure stateless single-turn inference. Fastest possible response. Every message is independent — no memory of previous turns. Use for one-shot Q&A, summarisation, or classification tasks where conversation history is irrelevant.
Source code in sumospace/settings.py
for_chat_with_context classmethod ¶
Conversational chat grounded in your codebase or documents. Use this when users ask questions about ingested content — 'explain this function', 'where is X defined', 'summarise this doc'. No committee, no tool execution. RAG + memory enabled.
Source code in sumospace/settings.py
for_coding classmethod ¶
Full pipeline optimised for code tasks.
Source code in sumospace/settings.py
for_research classmethod ¶
Planning + web search, no code execution.
Source code in sumospace/settings.py
for_review classmethod ¶
Plan and critique only — never executes. Safe for untrusted tasks.
Source code in sumospace/settings.py
from_file classmethod ¶
to_kernel_config ¶
Compatibility shim for code still using KernelConfig directly. Deprecated: Pass SumoSettings to SumoKernel directly instead. Will be removed in v1.0.