File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,11 +76,10 @@ object DelphiCopilotChatView: TDelphiCopilotChatView
7676 ParentFont = False
7777 ParentShowHint = False
7878 PopupMenu = PopupMenu1
79- ScrollBars = ssVertical
79+ ScrollBars = ssBoth
8080 ShowHint = True
8181 TabOrder = 1
8282 Zoom = 100
83- ExplicitHeight = 505
8483 end
8584 object pnBackQuestion: TPanel
8685 Left = 18
@@ -96,7 +95,6 @@ object DelphiCopilotChatView: TDelphiCopilotChatView
9695 Padding.Top = 5
9796 ParentBackground = False
9897 TabOrder = 0
99- ExplicitTop = 526
10098 object mmQuestion: TMemo
10199 AlignWithMargins = True
102100 Left = 0
@@ -150,7 +148,6 @@ object DelphiCopilotChatView: TDelphiCopilotChatView
150148 Caption = ' lbCurrentAI'
151149 PopupMenu = pMenuCurrentAI
152150 OnClick = lbCurrentAIClick
153- ExplicitTop = 1
154151 ExplicitHeight = 13
155152 end
156153 object btnSend: TButton
@@ -168,8 +165,6 @@ object DelphiCopilotChatView: TDelphiCopilotChatView
168165 Caption = ' Send'
169166 TabOrder = 0
170167 OnClick = btnSendClick
171- ExplicitTop = 1
172- ExplicitHeight = 19
173168 end
174169 end
175170 end
Original file line number Diff line number Diff line change @@ -497,15 +497,15 @@ procedure TDelphiCopilotChatView.pMenuCurrentAIPopup(Sender: TObject);
497497end ;
498498
499499procedure TDelphiCopilotChatView.ConfLabelCurrentAI ;
500- var
501- LModel: string;
502500begin
501+ lbCurrentAI.Caption := FSettings.AIDefault.ToString;
502+
503503 case FSettings.AIDefault of
504- TAIsAvailable.Gemini: LModel := FSettings.ModelGemini;
505- TAIsAvailable.OpenAI: LModel := FSettings.ModelOpenAI;
504+ TAIsAvailable.Gemini:
505+ lbCurrentAI.Hint := FSettings.ModelGemini;
506+ TAIsAvailable.OpenAI:
507+ lbCurrentAI.Hint := FSettings.ModelOpenAI;
506508 end ;
507-
508- lbCurrentAI.Caption := FSettings.AIDefault.ToString + ' / ' + LModel;
509509end ;
510510
511511procedure TDelphiCopilotChatView.Gemini1Click (Sender: TObject);
Original file line number Diff line number Diff line change @@ -4,4 +4,6 @@ interface
44
55implementation
66
7+
8+
79end .
You can’t perform that action at this time.
0 commit comments