Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Libraries/IntegrationTestHelpers/IntegrationTestHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public enum ChatSessionTests {
to: "What is the weather in San Francisco?", images: [], videos: [])
{
switch generation {
case .chunk(let text):
case .chunk(let text, _):
print(text, terminator: "")
responseText += text
case .toolCall(let toolCall):
Expand Down Expand Up @@ -557,7 +557,7 @@ public enum ToolCallTests {
var toolCalls: [ToolCall] = []
for try await generation in stream {
switch generation {
case .chunk(let chunk):
case .chunk(let chunk, _):
text += chunk
case .toolCall(let toolCall):
toolCalls.append(toolCall)
Expand Down
1 change: 1 addition & 0 deletions Libraries/MLXLLM/LLMModelFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public enum LLMTypeRegistry {
"glm4": create(GLM4Configuration.self, GLM4Model.init),
"glm4_moe": create(GLM4MoEConfiguration.self, GLM4MoEModel.init),
"glm4_moe_lite": create(GLM4MoELiteConfiguration.self, GLM4MoELiteModel.init),
"glm_moe_dsa": create(GLMMoeDSAConfiguration.self, GLMMoeDSAModel.init),
"acereason": create(Qwen2Configuration.self, Qwen2Model.init),
"falcon_h1": create(FalconH1Configuration.self, FalconH1Model.init),
"bitnet": create(BitnetConfiguration.self, BitnetModel.init),
Expand Down
Loading