Open steinargr opened 2 months ago
using sugested code:
let response = try await api.sendMessage(text: "What is ChatGPT?",
model: "gpt-4",
systemText: "You are a CS Professor",
temperature: 0.5)
gives: Cannot convert value of type 'String' to expected argument type 'Components.Schemas.CreateChatCompletionRequest.modelPayload.Value2Payload'
Loks like public static let defaultModel = "gpt-3.5-turbo" is removed from ChatGPTAPI on line 18 should this be added back?
Was present in build 1.7.0 not present in 2.1.0