We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1acd818 commit 1b80c9dCopy full SHA for 1b80c9d
1 file changed
Tool/Sources/OpenAIService/Configuration/ChatGPTConfiguration.swift
@@ -120,7 +120,7 @@ public class OverridingChatGPTConfiguration: ChatGPTConfiguration {
120
public var apiKey: String {
121
if let apiKey = overriding.apiKey { return apiKey }
122
guard let name = model?.info.apiKeyName else { return configuration.apiKey }
123
- return (try? Keychain.apiKey.get(name)) ?? configuration.apiKey
+ return (try? Keychain.apiKey.get(name)) ?? ""
124
}
125
126
public var shouldEndTextWindow: (String) -> Bool {
0 commit comments