Skip to content

[BUG] BrainForge backends not excluded from provider switch #86

@NeonCharlie-24

Description

@NeonCharlie-24

Description

BrainForge backends are not excluded from either hybrid or uniform backend provider changes. This means that switching Default Backend in the settings modal to e.g. Gemini will also switch the BrainForge model providers to Gemini.

The UI will still show them as being locked on BrainForge, but logging confirms that this code iterates over all personas (including BrainForge) and changes the backend provider.

Relevant code is: routes/chat.py --> resolve_llm_clients

Steps to Reproduce

  • add a logger statement showing the client of each persona to resolve_llm_clients after the client is switched
  • rebuild the docker container
  • in the UI, navigate to the settings modal --> Models
  • switch the Default Backend
  • start a new chat and review the logs

Relevant Code

Relevant code is: routes/chat.py --> resolve_llm_clients

Other Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNew issue needs review

    Type

    No type
    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