Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Conversation

@ilopezluna
Copy link
Contributor

This PR is an alternative to #101.
Instead of disabling the config copy entirely, it simply skips it when coming from a DD client (or a DD cloud server).
To avoid a cyclic dependency, I had to move the types to a shared package.

@ilopezluna ilopezluna requested a review from a team June 26, 2025 13:50
Copy link
Collaborator

@doringeman doringeman left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +38 to +40
if engineKind == types.ModelRunnerEngineKindDesktop || engineKind == types.ModelRunnerEngineKindCloud {
return nil
}
Copy link
Contributor

Choose a reason for hiding this comment

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

We'll probably also need to rework this to skip copying from a DD client to a Docker CE engine remotely, but we don't support that right now so I'll just make a note of it.

@xenoscopic xenoscopic merged commit b67aeba into main Jun 26, 2025
6 checks passed
@xenoscopic xenoscopic deleted the skip-copy-config-for-dd branch June 26, 2025 20:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants