Skip to content

Commit 6025f45

Browse files
committed
Merge upstream/main into fix/helm-upgrade
Resolve conflicts: - mysql.yaml: keep secrets in separate secrets.yaml (our refactor) - install.sh: keep wait_rollout steps for core components - PortalMenuSettings.tsx: adopt upstream menu ordering - PortalConfigContext.tsx: adopt upstream menu ordering
2 parents 9cf4357 + 2df1c2c commit 6025f45

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

himarket-server/src/main/java/com/alibaba/himarket/service/hichat/service/AbstractLlmService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ protected ModelFeature getOrDefaultModelFeature(ProductResult product) {
176176

177177
return ModelFeature.builder()
178178
.model(modelFeature.getModel())
179-
.maxTokens(ObjectUtil.defaultIfNull(modelFeature.getMaxTokens(), 5000))
179+
.maxTokens(modelFeature.getMaxTokens())
180180
.temperature(ObjectUtil.defaultIfNull(modelFeature.getTemperature(), 0.9))
181181
.streaming(ObjectUtil.defaultIfNull(modelFeature.getStreaming(), true))
182182
.webSearch(ObjectUtil.defaultIfNull(modelFeature.getWebSearch(), false))

himarket-web/himarket-admin/src/components/portal/PortalMenuSettings.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ interface PortalMenuSettingsProps {
1010
const MENU_ITEMS = [
1111
{key: "chat", label: "HiChat"},
1212
{key: "coding", label: "HiCoding"},
13-
{key: "models", label: "模型"},
14-
{key: "skills", label: "Skills"},
13+
{key: "agents", label: "智能体"},
1514
{key: "mcp", label: "MCP"},
15+
{key: "models", label: "模型"},
1616
{key: "apis", label: "API"},
17-
{key: "agents", label: "智能体"},
17+
{key: "skills", label: "Skills"},
1818
]
1919

2020
export function PortalMenuSettings({portal, onRefresh}: PortalMenuSettingsProps) {

himarket-web/himarket-frontend/src/context/PortalConfigContext.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ export interface TabItem {
1010
const ALL_TABS: TabItem[] = [
1111
{ key: "chat", path: "/chat", label: "HiChat" },
1212
{ key: "coding", path: "/coding", label: "HiCoding" },
13-
{ key: "models", path: "/models", label: "模型" },
14-
{ key: "skills", path: "/skills", label: "Skills" },
13+
{ key: "agents", path: "/agents", label: "智能体" },
1514
{ key: "mcp", path: "/mcp", label: "MCP" },
15+
{ key: "models", path: "/models", label: "模型" },
1616
{ key: "apis", path: "/apis", label: "API" },
17-
{ key: "agents", path: "/agents", label: "智能体" },
17+
{ key: "skills", path: "/skills", label: "Skills" },
1818
];
1919

2020
interface PortalConfigContextValue {

0 commit comments

Comments
 (0)