What's Changed
Predicted outputs support:
Usage:
let code = """
ScrollView {
VStack {
textArea
Text(chatProvider.errorMessage)
.foregroundColor(.red)
streamedChatResultView
}
}
"""
let content: ChatCompletionParameters.Message.ContentType = .text("Change this Scrollview to be a list" )
let parameters = ChatCompletionParameters(
messages: [
.init(role: .user, content: content),
.init(role: .user, content: .text(code))],
model: .gpt4o,
prediction: .init(content: .text(code)))
try await openAIService.startChat(parameters: parameters)
Other:
- Update: adds new embeddings models by @macistador in #106
New Contributors
- @macistador made their first contribution in #106
Full Changelog: v3.9.5...v.3.9.6