@@ -243,6 +243,14 @@ struct ChatModelEditView: View {
243243
244244 MaxTokensTextField ( store: store)
245245 SupportsFunctionCallingToggle ( store: store)
246+
247+ TextField ( text: $store. openAIOrganizationID, prompt: Text ( " Optional " ) ) {
248+ Text ( " Organization ID " )
249+ }
250+
251+ TextField ( text: $store. openAIProjectID, prompt: Text ( " Optional " ) ) {
252+ Text ( " Project ID " )
253+ }
246254
247255 VStack ( alignment: . leading, spacing: 8 ) {
248256 Text ( Image ( systemName: " exclamationmark.triangle.fill " ) ) + Text(
@@ -308,7 +316,7 @@ struct ChatModelEditView: View {
308316
309317 MaxTokensTextField ( store: store)
310318 SupportsFunctionCallingToggle ( store: store)
311-
319+
312320 Toggle ( isOn: $store. enforceMessageOrder) {
313321 Text ( " Enforce message order to be user/assistant alternated " )
314322 }
@@ -387,9 +395,9 @@ struct ChatModelEditView: View {
387395 BaseURLTextField ( store: store, prompt: Text ( " https://api.anthropic.com " ) ) {
388396 Text ( " /v1/messages " )
389397 }
390-
398+
391399 ApiKeyNamePicker ( store: store)
392-
400+
393401 TextField ( " Model Name " , text: $store. modelName)
394402 . overlay ( alignment: . trailing) {
395403 Picker (
@@ -411,9 +419,9 @@ struct ChatModelEditView: View {
411419 )
412420 . frame ( width: 20 )
413421 }
414-
422+
415423 MaxTokensTextField ( store: store)
416-
424+
417425 VStack ( alignment: . leading, spacing: 8 ) {
418426 Text ( Image ( systemName: " exclamationmark.triangle.fill " ) ) + Text(
419427 " For more details, please visit [https://anthropic.com](https://anthropic.com). "
0 commit comments