Skip to content

[Bug] includeAgentsMd doesn't work as expected #648

Description

@Non-J

Description

Expectation:

  • If includeAgentsMd is set to false in agents.config.json, then it should take priority over everything else second only to session override (i.e., using /tune command should only override for that session).

Reality:

  • The function loadAppConfig() never reads tune config from agents.config.json.
  • The function resolveTune will use includeAgentsMd in user preference over app config.
  • sessionOverride isn't actually passed into resolveTune.

Environment

  • OS: N/A
  • Node version: N/A
  • Nanocoder version: 1.28.1
  • Provider: N/A
  • Model: N/A

Steps to Reproduce

  1. Set agents.config.json to
 {
   "nanocoder": {
     "tune": {
       "includeAgentsMd": false
     }
   }
 }
  1. Open the app.
  2. The config isn't respected.

Expected Behavior

If includeAgentsMd is set to false in agents.config.json, then it should take priority over everything else second only to session override (i.e., using /tune command should only override for that session).

Actual Behavior

  • The function loadAppConfig() never reads tune config from agents.config.json.
  • The function resolveTune will use includeAgentsMd in user preference over app config.
  • sessionOverride isn't actually passed into resolveTune.

Logs/Screenshots

If applicable, add logs or screenshots to help explain the problem

Additional Context

  • I have searched existing issues to ensure this is not a duplicate
  • I can reproduce this issue consistently
  • This issue occurs with the latest version of nanocoder

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions