Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ function AgentModelPanel({
<div className="agent-page-form-content agent-model-form-content">
<div className="profile-runtime-grid agent-model-config-grid">
<label className="field">
{requiredFieldLabel(t("profileProvider"))}
{requiredFieldLabel(t("profileModelProvider"))}
<Select
value={selectedProviderID}
required
Expand All @@ -1194,7 +1194,7 @@ function AgentModelPanel({
model_id: nextProvider.models[0] || "",
});
}}
triggerProps={{ "aria-label": t("profileProvider"), "aria-required": true }}
triggerProps={{ "aria-label": t("profileModelProvider"), "aria-required": true }}
options={[
{ value: "", label: modelBusy ? t("profileLoadingModels") : t("profileProviderSelect") },
...providerOptions.map((option) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ export function ComputerDetailPane({
· {agentModelID(item)}
</small>
</span>
<span className={`workspace-status-dot ${isAgentRunning(item) ? "online" : ""}`}></span>
<span
className={`workspace-status-dot ${isAgentRunning(item) ? "online" : ""}`}
aria-hidden="true"
></span>
</button>
{SHOW_AGENT_LIFECYCLE_ACTIONS ? (
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2952,6 +2952,21 @@ button[disabled],
color: var(--success-700);
}

.workspace-status-dot {
width: 9px;
height: 9px;
flex: 0 0 9px;
border-radius: 999px;
background: var(--muted);
opacity: 0.55;
}

.workspace-status-dot.online {
background: currentColor;
opacity: 1;
box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.14);
}

.mini-badge.warn,
.agent-badge.warn {
color: var(--warning-700);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ export function AgentProfileModal({
<div className="agent-section-form-content agent-model-form-content">
<div className="profile-runtime-grid agent-model-config-grid">
<label className="field">
{requiredFieldLabel(t("profileProvider"))}
{requiredFieldLabel(t("profileModelProvider"))}
<Select
value={selectedProviderID}
required
Expand All @@ -664,7 +664,7 @@ export function AgentProfileModal({
model_id: nextProvider.models[0] || "",
});
}}
triggerProps={{ "aria-label": t("profileProvider"), "aria-required": true }}
triggerProps={{ "aria-label": t("profileModelProvider"), "aria-required": true }}
options={[
{
value: "",
Expand Down
4 changes: 3 additions & 1 deletion web/app/src/shared/i18n/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,8 @@ export const messages = {
composerTip: "Enter 发送,Shift + Enter 换行。支持房间、私信和 @ 提及。",
profileSetupTitle: "配置 Manager Profile",
profileSetupSubtitle: "自动检测没有找到可用模型。请完成 Manager 的运行配置后再开始对话。",
profileProvider: "服务商",
profileProvider: "模型提供方",
profileModelProvider: "模型提供方",
profileModel: "模型",
profileBaseURL: "接口地址",
profileAPIKey: "API 密钥",
Expand Down Expand Up @@ -1707,6 +1708,7 @@ export const messages = {
profileSetupSubtitle:
"Auto-detection did not find a usable model. Complete the manager runtime profile before chatting.",
profileProvider: "Provider",
profileModelProvider: "Model provider",
profileModel: "Model",
profileBaseURL: "Base URL",
profileAPIKey: "API Key",
Expand Down
Loading