Skip to content

Foundation Settings ​

Applicable roles: Administrator

Prerequisites: Signed in with an administrator account

This guide covers three foundation settings: Organization Settings (branding), System Configuration (key-value parameters), and Data Dictionary (multilingual enums).


1. Organization Settings ​

Organization Settings

Organization settings determine the branding that all users see.

ItemDescriptionConstraints
Organization LogoDisplayed in the top-left corner of the login pagepng / jpg / svg / webp, ≤ 2MB, recommended height of 88px or more
Welcome IllustrationMain image in the empty state of the chat pagepng / jpg / svg / webp, ≤ 2MB, recommended width of 480px or more
Organization Short NameDisplayed below the logo on the login pageIf left blank, the organization name is not displayed on the login page
Organization Full NameThe complete organization name—
ActionEffect
Upload / delete the logoAfter deletion, the login page displays no logo
Upload / delete the welcome illustrationAfter deletion, the empty state of the chat page reverts to the default illustration

Note · Organization settings are saved in the database and shared across nodes. A change made on any node takes effect on all nodes immediately.

Tip · The welcome illustration only affects the empty state of the chat page (the area shown when there are no conversations yet).


2. System Configuration ​

System configuration list

System configuration is a set of key-value pairs that administrators can add, edit, and delete.

ColumnDescription
Configuration keyUnique identifier
Configuration valueThe value
DescriptionDescription of what it is used for
Update time—

2.1 Add a Configuration ​

Add configuration

FieldRequiredRules
Configuration key✅May contain only letters, digits, and underscores, e.g. yuque_key
Configuration value✅—
Description❌What the configuration is used for

2.2 Edit and Delete ​

Edit configuration

Delete configuration

2.3 Built-in Configuration Items ​

The platform ships with the following configuration items. After modification they usually take effect automatically within 30 seconds, with no restart required.

Configuration keyDefault valuePurpose
access_token_expire_minutes60Login token validity period (minutes)
refresh_token_expire_days7Refresh token validity period (days)
show_session_status1Whether to show the "Session Status" card on the account information page (1 show / 0 hide)
ws_allowed_originsemptyExtension of the WebSocket Origin allowlist
public_base_urlemptyThe public base URL as seen by the browser
git_edit_max_file_size52428800Maximum size of a single file in bytes (50 MB), 0 means unlimited

About ws_allowed_origins ​

Used to validate the Origin during the WebSocket handshake, preventing CSWSH (Cross-Site WebSocket Hijacking).

ItemDescription
Base allowlistPlatform domain + cell-*.openpartner.com + http://localhost + http://127.0.0.1
Extension formatComma-separated, supports scheme://host[:port] and *.example.com wildcard subdomains
Examplehttp://220.112.1.148,http://10.10.6.124,https://*.my-company.com
Time to take effectAutomatically effective within 30 seconds

Note · When the platform is deployed on an intranet and the frontend is accessed via an intranet IP, that address must be added to the extended allowlist, otherwise the WebSocket cannot connect and the symptom is "AI agent service connection dropped, reconnecting".

About public_base_url ​

Used to build the URL prefix for the images returned by AI image generation.

ScenarioWhat to enter
Users access the platform from a public addressEnter the public address, e.g. http://220.112.1.148:22053
Access only from the local machine or the intranetMay be left blank; falls back to the node's own cell_url

Note · This value is not the same thing as the "frontend → backend URL" in Node Management; do not confuse the two.


3. Data Dictionary ​

Data dictionary management

The data dictionary maintains enum values and their multilingual display names, read by extension applications and the frontend.

The structure has two layers:

LayerDescription
Dictionary typeA collection of related enum values, e.g. "User Status" or "Job Type"
Dictionary itemA specific entry under a type, e.g. "Active", "Copywriting", or "Design"
AreaContents
Left: dictionary listAll dictionary types, including name, identifier, description, status, and item count
Right: dictionary detailsThe list of dictionary items under the currently selected type

3.1 Create a Dictionary ​

Create dictionary

FieldRequiredRules
Dictionary name✅e.g. "User Status"
Dictionary identifier✅Only English letters / digits / underscores, and must start with a letter. Cannot be modified after creation
Description❌—
Status—Enabled / Disabled

Edit dictionary

Delete dictionary

Note · Deleting a dictionary also deletes all of the dictionary items under it, and this cannot be undone.

3.2 Dictionary Items ​

Add dictionary item

FieldRequiredDescription
Item code✅Unique identifier
Display name (Chinese)At least oneThe text displayed in the interface
Display name (English)At least onee.g. Active
Display name (other languages)❌Optional, added per language
Actual value❌If left blank, it defaults to the item code
Sort order❌Smaller numbers come first

Edit dictionary item

Delete dictionary item

Tip · The "display name" and the "actual value" of a dictionary item may differ: the display name is for people, while the actual value is for programs.


4. FAQ ​

SymptomCauseResolution
There is no organization name on the login pageThe organization short name was left blankFill it in under Organization Settings
The empty state of the chat page shows the default illustrationNo welcome illustration was uploadedUpload a custom illustration
The WebSocket keeps reconnectingws_allowed_origins does not include the address actually used to access the siteAdd it to the extended allowlist
Images from image generation will not open in the browserpublic_base_url is not configuredEnter the public access address
A configuration change does not take effectSome changes have a cache delayWait about 30 seconds; if it still does not work, check whether the configuration key is misspelled
The dictionary identifier cannot be changedBy design, it cannot be modified after creationCreate a new dictionary if a change is needed
The data is gone after the dictionary was deletedDictionary items are deleted together with the typeConfirm before deleting

PageContents
Model Provider AccessThe highest-priority configuration of the platform
Integration SettingsGit repositories and credentials
Nodes & UpgradesThe difference between public_base_url and the node URL

Released under Sogood Technology · Shenzhen Sogood Technology Co., Ltd.