This is an automated email from the ASF dual-hosted git repository.

gongchao pushed a commit to branch ai-enhance
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git

commit 8779691110369fa998c5377734afeddcbd7205af
Author: tomsun28 <[email protected]>
AuthorDate: Wed Oct 22 23:13:03 2025 +0800

    [webapp] update ui
    
    Signed-off-by: tomsun28 <[email protected]>
---
 .../shared/components/ai-chat/chat.component.html    | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/web-app/src/app/shared/components/ai-chat/chat.component.html 
b/web-app/src/app/shared/components/ai-chat/chat.component.html
index 89c97bb33..a44748bb7 100644
--- a/web-app/src/app/shared/components/ai-chat/chat.component.html
+++ b/web-app/src/app/shared/components/ai-chat/chat.component.html
@@ -176,18 +176,14 @@
       <nz-form-item>
         <nz-form-label nzRequired="true">AI Provider</nz-form-label>
         <nz-form-control nzErrorTip="Please select an AI provider">
-          <nz-select 
-            [(ngModel)]="aiProviderConfig.code" 
+          <nz-select
+            [(ngModel)]="aiProviderConfig.code"
             name="provider"
             nzPlaceHolder="Select AI Provider"
             (ngModelChange)="onProviderChange($event)"
             style="width: 100%"
           >
-            <nz-option 
-              *ngFor="let option of providerOptions" 
-              [nzValue]="option.value" 
-              [nzLabel]="option.label"
-            ></nz-option>
+            <nz-option *ngFor="let option of providerOptions" 
[nzValue]="option.value" [nzLabel]="option.label"></nz-option>
           </nz-select>
           <p class="form-help">Choose your AI provider (OpenAI, ZhiPu, or 
ZAI)</p>
         </nz-form-control>
@@ -209,11 +205,11 @@
           <nz-input-group [nzSuffix]="resetBtn">
             <input nz-input [(ngModel)]="aiProviderConfig.baseUrl" 
name="baseUrl" placeholder="https://api.openai.com/v1"; />
             <ng-template #resetBtn>
-              <button 
-                nz-button 
-                nzType="link" 
-                nzSize="small" 
-                (click)="resetToDefaults()" 
+              <button
+                nz-button
+                nzType="link"
+                nzSize="small"
+                (click)="resetToDefaults()"
                 nzTooltipTitle="Reset to default values"
                 nz-tooltip
               >


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to