Bi

配置概览

设置界面、本机配置文件与数据位置。

Markdown 原文Raw markdown

Bi 的设置在界面中完成,保存后立即生效,不需要重启。

设置保存在哪里

设置与数据都保存在程序目录旁的 .bi 目录内:

  • 偏好设置
  • 模型密钥
  • 会话记录与本地数据库
  • 运行日志

macOS 的 Bi.app 把 .bi 与工作区放在 app 所在目录旁;如果安装在「应用程序」等只读位置,会回退到 ~/Library/Application Support/Bi。

隐私

Bi 没有自己的服务器。配置与模型密钥只保存在本机;密钥与会话内容只在你和所配置的模型服务之间传输。使用本机模型时,内容可以完全不离开这台电脑。

界面与配置文件

界面修改的就是本机配置,两者始终一致。日常使用在界面中操作即可;需要批量修改或自行备份时,也可以直接编辑配置文件,保存后即时生效。

端口

工作台通过本机端口在浏览器中打开,通常无需改动。如果端口已被占用,可以在设置中更换。

相关

Settings and configuration

The settings UI, local config files and where data lives.

Markdown 原文Raw markdown

Settings live in the UI. Changes take effect immediately; no restart is needed.

Where settings are stored

Settings and data live in the .bi directory next to the application:

  • Preferences
  • Model keys
  • Sessions and the local database
  • Runtime logs

On macOS, Bi.app keeps .bi and the workspace next to the app itself. When installed in a read-only location such as Applications, it falls back to ~/Library/Application Support/Bi.

Privacy

Bi has no server of its own. Configuration and model keys stay on your machine; keys and conversation content only travel between you and the model provider you configured. With a local model, content need not leave the machine at all.

UI and config files

What you change in the UI is the local configuration — the two never diverge. Day to day, use the UI. For bulk edits or your own backups, you can also edit the config file directly; changes apply on save.

Port

The workbench opens in your browser on a local port. You rarely need to change it; if the port is taken, set another one in Settings.