Skip to content

feat: make fusion weights configurable via environment variables#100

Open
Nabhye wants to merge 2 commits into
INCF:mainfrom
Nabhye:fix-env-config-weights
Open

feat: make fusion weights configurable via environment variables#100
Nabhye wants to merge 2 commits into
INCF:mainfrom
Nabhye:fix-env-config-weights

Conversation

@Nabhye
Copy link
Copy Markdown

@Nabhye Nabhye commented Mar 27, 2026

Summary

This PR makes fusion weights configurable via environment variables instead of hardcoded values.

Changes

  • Added FUSION_VECTOR_WEIGHT and FUSION_KS_WEIGHT env variables
  • Updated agents.py to use env-based weights
  • Added validation for non-negative weights
  • Updated .env.template with defaults

Default Behavior

  • Vector weight = 0.6
  • Keyword search weight = 0.4

Related Issue

#81

@QuantumByte-01 please review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant