File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public partial class QueryStashChanges : Command
14
14
[ GeneratedRegex ( @"^R[0-9]{0,4}\s+(.+)$" ) ]
15
15
private static partial Regex REG_RENAME_FORMAT ( ) ;
16
16
17
- public QueryStashChanges ( string repo , string stash )
17
+ public QueryStashChanges ( string repo , string stash )
18
18
{
19
19
WorkingDirectory = repo ;
20
20
Context = repo ;
Original file line number Diff line number Diff line change @@ -107,15 +107,7 @@ public string Name
107
107
public string Server
108
108
{
109
109
get => _server ;
110
- set
111
- {
112
- // migrate old server value
113
- if ( ! string . IsNullOrEmpty ( value ) && value . EndsWith ( "/chat/completions" , StringComparison . Ordinal ) )
114
- {
115
- value = value . Substring ( 0 , value . Length - "/chat/completions" . Length ) ;
116
- }
117
- SetProperty ( ref _server , value ) ;
118
- }
110
+ set => SetProperty ( ref _server , value ) ;
119
111
}
120
112
121
113
public string ApiKey
You can’t perform that action at this time.
0 commit comments