Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

290 B
Raw Blame
// joinPath from @janhq/core forwards to the host API; join with '/' the way
// the virtual file:// paths in the tests are keyed.
Object.defineProperty(globalThis, 'core', {
  value: {
    api: { joinPath: async ({ args }: { args: string[] }) => args.join('/') },
  },
  writable: true,
})