[Bug]: Openwork will always try to target an Anthropic model #12

Closed
opened 2026-02-16 09:17:46 -05:00 by yindo · 2 comments
Owner

Originally created by @gherghett on GitHub (Jan 18, 2026).

Description

After adding OpenAI API key I still get error message about not having a Anthropic key. Tried restarting, tried readding. installed with npx. it DID work when i installed from source

Steps to Reproduce

  1. Add OpenAI key
  2. Choose OpenA -> chatGPT5.2
  3. Write message
  4. See error

Expected Behavior

I expected client to use openAI API

Actual Behavior

Got message about adding anthopic key

Environment

  • OS: ❯ cat /etc/os-release
    PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
    NAME="Debian GNU/Linux"
    VERSION_ID="13"
    VERSION="13 (trixie)"
    VERSION_CODENAME=trixie
    DEBIAN_VERSION_FULL=13.3
    ID=debian
    HOME_URL="https://www.debian.org/"
    SUPPORT_URL="https://www.debian.org/support"
    BUG_REPORT_URL="https://bugs.debian.org/"

  • openwork version:❯ npx openwork
    Need to install the following packages:
    openwork@0.1.3
    Ok to proceed? (y)

  • Node.js version: ❯ node --version
    v22.14.0

  • Installation method: npx

Model & Provider (if applicable)

  • Provider: openai
  • Model: 5.2

Screenshots / Logs

If applicable, add screenshots or error logs to help explain your problem.

Additional Context

It works when i install from source. some persistance problem?

Originally created by @gherghett on GitHub (Jan 18, 2026). ## Description After adding OpenAI API key I still get error message about not having a Anthropic key. Tried restarting, tried readding. installed with npx. it DID work when i installed from source ## Steps to Reproduce 1. Add OpenAI key 2. Choose OpenA -> chatGPT5.2 3. Write message 4. See error ## Expected Behavior I expected client to use openAI API ## Actual Behavior Got message about adding anthopic key ## Environment - **OS**: ❯ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 13 (trixie)" NAME="Debian GNU/Linux" VERSION_ID="13" VERSION="13 (trixie)" VERSION_CODENAME=trixie DEBIAN_VERSION_FULL=13.3 ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" - **openwork version**:❯ npx openwork Need to install the following packages: openwork@0.1.3 Ok to proceed? (y) - **Node.js version**: ❯ node --version v22.14.0 - **Installation method**: npx ## Model & Provider (if applicable) - **Provider**: openai - **Model**: 5.2 ## Screenshots / Logs If applicable, add screenshots or error logs to help explain your problem. ## Additional Context It works when i install from source. some persistance problem?
yindo added the bug label 2026-02-16 09:17:46 -05:00
yindo closed this issue 2026-02-16 09:17:46 -05:00
Author
Owner

@hntrl commented on GitHub (Jan 19, 2026):

Hey @gherghett! This was a recent regression when updating model state to be scoped per thread rather than globally. We're waiting to land a few other changes before making a new release, will ping here when its out!

@hntrl commented on GitHub (Jan 19, 2026): Hey @gherghett! This was a recent regression when updating model state to be scoped per thread rather than globally. We're waiting to land a few other changes before making a new release, will ping here when its out!
Author
Owner

@hntrl commented on GitHub (Jan 19, 2026):

Fixed in latest release

@hntrl commented on GitHub (Jan 19, 2026): Fixed in latest release
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/openwork#12