mirror of
https://github.com/langchain-ai/openwork.git
synced 2026-07-19 14:43:32 -04:00
[PR #29] [MERGED] fix(model): Persist selected model properly to fix Gemini API key error #39
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/openwork/pull/29
Author: @synetalsolutions
Created: 1/18/2026
Status: ✅ Merged
Merged: 1/19/2026
Merged by: @hntrl
Base:
main← Head:fix/gemini-persistence📝 Commits (1)
1d51a18fix(model): Persist selected model properly to fix Gemini API key error📊 Changes
2 files changed (+33 additions, -11 deletions)
View changed files
📝
src/main/ipc/agent.ts(+9 -3)📝
src/renderer/src/lib/thread-context.tsx(+24 -8)📄 Description
This PR fixes an issue where the selected model ID was not being correctly persisted or retrieved from thread metadata. This caused the application to default to Anthropic even when Gemini was selected, leading to errors due to missing API keys.
Changes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.