WeKnora/config
jackson.jia d439b3ae07 feat(builtin-models): add YAML-based declarative config with ${ENV} interpolation
Allow built-in models to be declared in config/builtin_models.yaml
instead of inserting rows via SQL. On every startup the file is read
and each entry is UPSERT-ed into the models table (is_builtin=true)
by stable id.

Any string field may reference an environment variable with ${NAME}.
Unset variables are left as the literal placeholder so
misconfiguration surfaces clearly in provider calls rather than
failing silently with an empty token.

The file is optional: missing file, parse errors, and per-entry
upsert failures all log a warning without aborting startup.
docker-compose.yml adds env_file (.env, required:false) so
deployment-specific variables are passed through automatically.
2026-05-26 11:31:01 +08:00
..
prompt_templates fix: respect multi-turn-disabled flag in KnowledgeQA pipeline 2026-05-26 10:45:42 +08:00
agent_type_presets.yaml feat: Enhance agent tool compatibility and knowledge base filtering 2026-04-23 17:28:00 +08:00
builtin_agents.yaml feat: Remove deprecated tools from built-in agents configuration 2026-04-22 21:18:31 +08:00
builtin_models.yaml.example feat(builtin-models): add YAML-based declarative config with ${ENV} interpolation 2026-05-26 11:31:01 +08:00
config.yaml 验证完毕 2026-05-15 20:47:01 +08:00