Skip to main content

Config keys

officelabs.config is a plain text file of KEY=VALUE lines. Blank lines and lines starting with # are ignored. The launcher reads it when OfficeLabs starts and passes every key it finds to the local services as an environment variable.

It is read from two places, the second overriding the first:

  1. <install folder>\officelabs-services\officelabs.config
  2. %LOCALAPPDATA%\OfficeLabs\officelabs.config

Generated from the launcher sources. Do not edit by hand. The keys below are the ones the launcher and installer set themselves; any other KEY=VALUE line you add is passed through unchanged.

KeyDefaultNotes
LLM_COMPLETION_MODELofficelabs-inlineSet by the launcher before reading the config files.
OFFICELABS_API_URLnoneCloud API URL. Written by the installer build; required for a production channel build, left out of the file when not given.
OFFICELABS_CHANNELdevelopmentOne of: development, production. Written by the installer build. production sends every AI request, chat and inline completion, through the OfficeLabs cloud; development uses a local model server by default.
OFFICELABS_INSTALL_DIRnoneSet by the launcher to the install folder.