Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion commands/config_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import json
import os
import threading

from ui.render import clr, info, ok, warn, err

Expand Down Expand Up @@ -83,7 +84,8 @@ def _interactive_ollama_picker(config: dict) -> bool:
def cmd_config(args: str, _state, config) -> bool:
from config import save_config
if not args:
display = {k: v for k, v in config.items() if k != "api_key"}
display = {k: v for k, v in config.items() if k != "api_key" and k != "_proactive_thread" and not isinstance(v,
type(threading.Thread))}
print(json.dumps(display, indent=2))
elif "=" in args:
key, _, val = args.partition("=")
Expand Down