Skip to content

fix: lmstudio to ollama model creation#222

Merged
sammcj merged 3 commits intomainfrom
lm_to_ol
Nov 11, 2025
Merged

fix: lmstudio to ollama model creation#222
sammcj merged 3 commits intomainfrom
lm_to_ol

Conversation

@sammcj
Copy link
Copy Markdown
Owner

@sammcj sammcj commented Nov 11, 2025

  • fix: improve lmstudio to ollama linking
  • chore: bump package versions

Hopefully this fixes #220 @kmnnmk212-source as per @fbrinker's suggestion! 🙏

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub.liu-huaimin.workers.dev/​ollama/​ollama@​v0.12.3 ⏵ v0.12.1075 +1100100100100
Updatedgithub.liu-huaimin.workers.dev/​olekukonko/​tablewriter@​v1.1.0 ⏵ v1.1.198 +1100100100100
Updatedgolang.org/​x/​term@​v0.35.0 ⏵ v0.37.0100100100100100

View full report

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the LM Studio to Ollama model creation process by changing from direct file paths to blob symlinks, addressing issue #220.

  • Implemented blob symlink creation for model files instead of using direct paths
  • Added deduplication logic to prevent scanning the same model directory multiple times
  • Stripped common suffixes like "-GGUF" from model names during extraction
  • Updated package dependencies and version to 1.37.3

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
main.go Bumped version from 1.37.2 to 1.37.3
lmstudio/create_test.go Added comprehensive test coverage for blob symlink creation, cleanup, and SHA256 calculation functions
lmstudio/create.go Implemented blob symlink approach with cleanup logic and duplicate model detection; stripped model name suffixes
go.sum Updated dependency checksums for package version bumps
go.mod Bumped Go version to 1.25.4 and updated dependencies (ollama, bubbletea, tablewriter, etc.)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sammcj sammcj merged commit c429cc3 into main Nov 11, 2025
4 checks passed
@sammcj sammcj deleted the lm_to_ol branch November 11, 2025 21:58
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.

from lmstdio to ollama not run

2 participants