Skip to content

Agent fallback provider changes made from web dashboard are not saved #996

@veikk0

Description

@veikk0

Description

If you configure an agent's fallback provider/model chain in the web dashboard, the changes aren't saved to the agent's config file.

Thus, when Openfang is stopped and started the next time, the config changes made are gone.

Expected Behavior

When you change an agent's fallbacks from the web dashboard, changes should immediately be saved to agent.toml

Steps to Reproduce

  1. Run openfang start in a terminal
  2. Navigate to the web dashboard --> Chat --> click on the cog to the right side of any activated agent and change the fallback to something other than the default.
  3. Exit openfang (Ctrl+C in the terminal, or run openfang stop).
  4. Run openfang start again.
  5. Navigate to the same agent's configuration again and observe that the changes you made are gone.

OpenFang Version

0.5.5

Operating System

Linux (x86_64)

Logs / Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions