Skip to content

gptel-model and gptel-backend, why do we need these two? #704

Open
@ryanobjc

Description

@ryanobjc

The README.md notes that gptel-model is how you set the default model. Except it really isn't entirely true.

If you attempt to set the gptel-model to one that isn't hosted by the default gptel-backend, then it doesn't really do anything.

The code didn't use to be like this.

Now you have to set both gptel-model and gptel-backend in concert with each other, also gptel-backend isn't something that can be customized since it has to be a complex record that comes from another live data structure.

In terms of a user interface, this is just confusing and non-ideal. The extra step of configuring a gptel-backend to match the model.

I run in to this because I want my default model to be sonnet 3.7, and I don't want to fiddle with gptel-menu, cancel that, then run the 'gptel' command to switch my model. I've adjusted my init.el now, but this is internal details of the workings of gptel leaking to the end user configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions