Skip to content

Your lightweight open-source personal agent.

fix: trim feishu login path output

chengyongru99846da6f321
diff --git a/nanobot/channels/feishu.py b/nanobot/channels/feishu.py
index 65589ec2e..6ca2396b4 100644
--- a/nanobot/channels/feishu.py
+++ b/nanobot/channels/feishu.py
@@ -717,7 +717,7 @@ class FeishuChannel(BaseChannel):
print(f"Domain: {self.config.domain}")
# Write credentials back to config.json
- from nanobot.config.loader import get_config_path, load_config, save_config
+ from nanobot.config.loader import load_config, save_config
full_config = load_config()
feishu_cfg = getattr(full_config.channels, "feishu", None) or {}
@@ -729,7 +729,6 @@ class FeishuChannel(BaseChannel):
setattr(full_config.channels, "feishu", feishu_cfg)
save_config(full_config)
- print(f"\nCredentials saved to {get_config_path()} (feishu enabled)")
print("Login successful!")
return True