Skip to content

Allow to override config parms in code/in config file #35

Description

@johann-petrak

Currently it causes an error if a parameter is specified both in the config file and the code.

It may be useful to just define a priority.

There are only few reasons why those parameters would get set in code:

  • the code wants to make sure that a parameter is set specifically for the invocation
  • the code sets a parameter that was e.g. chosen by a user during interaction
  • the code knows the parameter has to be set in a specific context (e.g. temperature=1 if reasoning is used with Anthropic models)

So it is probably the better approach to give priority to parameter settings in the code!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions