Skip to content

Conversation

stevemolitor
Copy link
Owner

WIP fix for #2.

The robby-openai-api-key customization variable was not getting loaded early enough, causing any value set in the user's init file to get overridden when a robby command was invoked and autoloaded. The robby-openai-api-key customization variable was declared in a file that was not loaded early. To fix, move the custom variable declaration to `robby-customization.el', which is eagerly loaded.

Also, fetching available models is not working for some reason with mistral or togetherai. As a temporary fix (in this branch only), comment out the "m - model" option in the robby options transient, to avoid triggering that request. I'll figure out a better solution before merging this.

Finally, I noticed that conversation history is not working with mistral. There's an extra "assistant" message in the payload that messes it up (but does not bother OpenAI), should be an easy fix.

I'm putting this PR out there now for early feedback.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant