Skip to content

Conversation

@noorbhatia
Copy link
Contributor

Implement a simple caching for MLXLanguage
A possible solution for #89

@noorbhatia
Copy link
Contributor Author

noorbhatia commented Jan 13, 2026

@mattt could you please take a look at this? I tested the PR with https://github.com/mattt/chat-ui-swift and I’m seeing an issue with conversation history handling. The model appears to be responding to the previous (n-1) prompt rather than the latest one, which suggests the chat state may be getting out of sync somewhere.

Though cache seems to be working fine.

@mattt
Copy link
Owner

mattt commented Jan 13, 2026

@noorbhatia Oh, nice. Thank you for opening this PR in response to the issue you filed earlier. I'm wrapping up work on a Swift implementation of Xet. Once I cut that initial release, I'll take a look at this next.

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.

2 participants