feat: improve compatiblity with certain apps (#72)
* feat: enable modern packaging via pyproject.toml uvx --from (...) chatmock should just work ! * feat(ollama): add version endpoint * feat(logging): improve verbose diagnostics * fix(stream): always send stop chunk
This commit is contained in:
@@ -10,6 +10,7 @@ from .routes_ollama import ollama_bp
|
||||
|
||||
def create_app(
|
||||
verbose: bool = False,
|
||||
verbose_obfuscation: bool = False,
|
||||
reasoning_effort: str = "medium",
|
||||
reasoning_summary: str = "auto",
|
||||
reasoning_compat: str = "think-tags",
|
||||
@@ -21,6 +22,7 @@ def create_app(
|
||||
|
||||
app.config.update(
|
||||
VERBOSE=bool(verbose),
|
||||
VERBOSE_OBFUSCATION=bool(verbose_obfuscation),
|
||||
REASONING_EFFORT=reasoning_effort,
|
||||
REASONING_SUMMARY=reasoning_summary,
|
||||
REASONING_COMPAT=reasoning_compat,
|
||||
|
||||
Reference in New Issue
Block a user