CP4D 인증 방식을 등록 단계에서 분리
Some checks failed
Release Gate / gate (push) Has been cancelled

모델 등록 UI에 CP4D 사용자 이름+비밀번호 방식과 사용자 이름+API 키 방식을 별도 인증 유형으로 추가하고 선택에 따라 입력 라벨이 달라지도록 정리했습니다.

LlmService, SettingsViewModel, AppSettings를 갱신해 cp4d_password와 cp4d_api_key 저장값을 공식 지원하고 기존 cp4d 값은 비밀번호 방식으로 계속 호환되게 유지했습니다.

README와 DEVELOPMENT 문서를 2026-04-06 17:01 (KST) 기준으로 갱신했고 Release 빌드 경고 0 오류 0을 확인했습니다.
This commit is contained in:
2026-04-06 16:55:10 +09:00
parent fd3af15e54
commit 17d7b515ce
6 changed files with 36 additions and 16 deletions

View File

@@ -2028,7 +2028,7 @@ public class RegisteredModelRow : INotifyPropertyChanged
private string _cp4dUsername = "";
private string _cp4dPassword = "";
/// <summary>인증 방식. bearer | ibm_iam | cp4d</summary>
/// <summary>인증 방식. bearer | ibm_iam | cp4d_password | cp4d_api_key</summary>
public string AuthType
{
get => _authType;
@@ -2059,7 +2059,9 @@ public class RegisteredModelRow : INotifyPropertyChanged
/// <summary>인증 방식 라벨</summary>
public string AuthLabel => (_authType ?? "bearer").ToLowerInvariant() switch
{
"cp4d" => "CP4D",
"cp4d" => "CP4D 비밀번호",
"cp4d_password" => "CP4D 비밀번호",
"cp4d_api_key" => "CP4D API 키",
"ibm_iam" => "IBM IAM",
_ => "Bearer",
};