Move configuration to YAML, and make the tuning knobs configurable #43

Merged
dongar merged 4 commits from yaml-config into main 2026-09-23 23:49:44 +00:00
Showing only changes of commit e1034a2cb7 - Show all commits
+6 -3
View File
@@ -5,9 +5,12 @@
# which refers to these by name, e.g. `token: ${NISSE_LLM_TOKEN}`. The live
# integration tests use the same names, from tests/integration/nisse-test.yaml.
Review

I feel like this should include some examples of the actual secrets we expect that match the example config file. Something like:

NISSE_MATRIX_TOKEN=replace-me
NISSE_GITEA_TOKEN=replace-me
NISSE_LLM_TOKEN=replace-me

I feel like this should include some examples of the actual secrets we expect that match the example config file. Something like: NISSE_MATRIX_TOKEN=replace-me NISSE_GITEA_TOKEN=replace-me NISSE_LLM_TOKEN=replace-me
Review

They're in the file, just below this comment block. The three lines didn't change in this PR, so the diff folded them away. To make the match with the example config explicit, each one now notes which key refers to it (llm.token, matrix.token, gitea.token), and the values are replace-me as you suggested. Done in e1034a2c.

They're in the file, just below this comment block. The three lines didn't change in this PR, so the diff folded them away. To make the match with the example config explicit, each one now notes which key refers to it (`llm.token`, `matrix.token`, `gitea.token`), and the values are `replace-me` as you suggested. Done in e1034a2c.
NISSE_LLM_TOKEN=sk-your-litellm-virtual-key
NISSE_MATRIX_TOKEN=syt_your_matrix_access_token
NISSE_GITEA_TOKEN=your-scoped-service-account-token
# llm.token: the LiteLLM virtual key (A5)
NISSE_LLM_TOKEN=replace-me
# matrix.token: the Matrix access token for the agent's account (A1)
NISSE_MATRIX_TOKEN=replace-me
# gitea.token: the Gitea service account's scoped token (B2)
NISSE_GITEA_TOKEN=replace-me
# Where the config file is, if not ./nisse-dev.yaml. Where this file is, if
# not ./.env, is NISSE_ENV, which has to be set in the real environment.