Skip to content

Refactor message history construction from Transcription in MLXLanguageModel#66

Merged
mattt merged 4 commits intohuggingface:mainfrom
noorbhatia:noor/mlx-transcript
Dec 17, 2025
Merged

Refactor message history construction from Transcription in MLXLanguageModel#66
mattt merged 4 commits intohuggingface:mainfrom
noorbhatia:noor/mlx-transcript

Conversation

@noorbhatia
Copy link
Contributor

@noorbhatia noorbhatia commented Dec 17, 2025

Resolves #52 for MLXLanguageModel

@mattt
Copy link
Collaborator

mattt commented Dec 17, 2025

Thank you, @noorbhatia! I just made a few changes to clean up those helper methods. Merging this now.

@mattt mattt merged commit 9700936 into huggingface:main Dec 17, 2025
3 checks passed
@mattt
Copy link
Collaborator

mattt commented Dec 17, 2025

This is now in 0.5.1

XMLHexagram added a commit to XMLHexagram/AnyLanguageModel that referenced this pull request Dec 22, 2025
Fix compilation error where streamResponse was calling non-existent
helper functions (extractInstructionSegments, convertSegmentsToMLXMessage,
etc.) that were removed in the refactoring PR huggingface#66.

Now uses convertTranscriptToMLXChat, consistent with the respond method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Session transcript not used as conversation context - model has no memory of previous turns

2 participants