This just started happening yesterday out of no where but I started getting an error for
let result = try await openAI.sendChat(with: chat) ---- >> Value of type 'OpenAISwift' has no member 'sendChat'
let chat: [ChatMessage] = [. ------ >>. Cannot find type 'ChatMessage' in scope
I can't seem to figure out why it's not working. Completions workout however.
This just started happening yesterday out of no where but I started getting an error for let result = try await openAI.sendChat(with: chat) ---- >> Value of type 'OpenAISwift' has no member 'sendChat' let chat: [ChatMessage] = [. ------ >>. Cannot find type 'ChatMessage' in scope
I can't seem to figure out why it's not working. Completions workout however.