Skip to content

Feature request: sync personal BYOK custom models across a user's machines #115

Open

Description

@sashalab

Is your feature request related to a problem?

Personal customModels are stored only in each computer's ~/.factory/settings.json. A user running the same Factory account on multiple computers has to recreate every model manually and repeat every later edit or removal.

This is especially noticeable with Workstreams running on another computer: the available BYOK models and their reasoning controls depend on that computer's local configuration. Updating baseModelId or removing an obsolete provider on one computer does not update the other.

Org-managed customModels do not cover this personal use case: they are an organization-wide catalog managed by administrators, and static API keys are not accepted there.

Describe the solution you'd like

Add opt-in, account-level synchronization of personal BYOK custom model definitions between computers signed into the same Factory account.

The synchronized state should include:

  • creating, updating, and removing model entries;
  • stable custom model IDs and display names;
  • provider, base URL, baseModelId, context/output limits, and non-secret provider arguments;
  • consistent model and reasoning-level availability in regular sessions and Workstreams on each machine.

Credentials should remain secure and machine-specific:

  • do not upload literal apiKey values or secret headers by default;
  • support ${ENV_VAR} references and apiKeyHelper, resolved on each machine;
  • if a synchronized model has no usable credential on a machine, show that credentials are required instead of silently failing.

Current workarounds

  • Manually copying or editing settings.json on every computer, which also risks copying unrelated machine-specific settings or credentials.
  • Using org-managed customModels, which requires an organization administrator and does not fit personal subscriptions with locally stored keys.

Neither provides account-level synchronization for personal BYOK configuration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions