Jelajahi Sumber

fix: agent chat

tycoding 9 bulan lalu
induk
melakukan
61ce72ce40

+ 4 - 3
langchat-ui/src/views/aigc/model/components/chat/columns.ts

@@ -24,21 +24,22 @@ export const baseColumns = [
   {
     title: '模型版本',
     key: 'model',
+    width: '140',
   },
   {
     title: '回复上限',
     key: 'responseLimit',
-    width: '120',
+    width: '100',
   },
   {
     title: '生成随机性',
     key: 'temperature',
-    width: '120',
+    width: '100',
   },
   {
     title: 'Top P',
     key: 'topP',
-    width: '120',
+    width: '100',
   },
 ];
 

+ 5 - 0
langchat-ui/src/views/aigc/model/components/embedding/columns.ts

@@ -25,6 +25,7 @@ export const baseColumns = [
   {
     title: '模型版本',
     key: 'model',
+    width: '160',
   },
   {
     title: '向量纬度',
@@ -44,6 +45,10 @@ export const baseColumns = [
       );
     },
   },
+  {
+    title: 'Api Key',
+    key: 'apiKey',
+  },
   {
     title: 'Base Url',
     key: 'baseUrl',