Repository navigation
fix(workbuddy): align chat identity with CodeBuddy CLI 2.168.2 - #488
Merged
Merged
Conversation
Chat still advertised CLI 2.161.0 and omitted the OpenAI Node SDK fingerprint the official package sends. Send 2.168.2, the SDK headers, and cache_retention=long when the caller did not set one. Desktop catalog identity stays on its own bundled versions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
2.168.2(User-Agent,X-IDE-Version) instead of2.161.0. The official package no longer sendsX-Product-VersionorX-Session-ID; those are dropped, and the CLI addsX-Agent-Purpose,X-Agent-Runtime, andX-Root-Request-ID.6.25.0fingerprint shipped with that CLI (x-stainless-*, Nodev22.21.1). OS and architecture stay fixed atMacOS/arm64so the gateway host does not leak into the fingerprint.cache_retentiongetslong, matching the official CLI. An explicit caller value is kept.WorkBuddy/5.9.4 … CLI/2.165.0. The CN desktop UA no longer borrows the chat CLI version; it keeps its own bundled2.161.0, which has not been re-verified.Test plan
go test ./internal/providers/workbuddy/ -count=1/v3/configcatalog still returns the desktop model set (UA unchanged)