Repository navigation
fix(mcp): stop the ChatGPT server hiding Threads accounts as ads - #52
Open
Zernio-Elean wants to merge 1 commit into
Open
Zernio-Elean wants to merge 1 commit into
Zernio-Elean wants to merge 1 commit into
Conversation
_is_posting_account dropped every platform ending in "ads" to keep ad connections out of the ChatGPT surface. "threads" ends in "ads", so list_social_accounts omitted Threads accounts and validate_post, schedule_post and publish_post_now rejected their ids with "Unknown account id". Ad platforms are now an explicit list. Linear: GET-1119 Crisp: https://app.crisp.chat/website/20dea5d6-a684-4c80-b097-2258b0b41421/inbox/session_072cac5c-634b-4531-9e7b-f62307ad510c/
This branch has not been deployed
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.
Why
The ChatGPT connector (
/chatgpt) filtered ad connections withplatform.endswith("ads").threadsends inads, so every ChatGPT user with Threads saw no Threads account inlist_social_accounts, andvalidate_post/schedule_post/publish_post_nowrejected Threads ids with "Unknown account id". Introduced in #44. Reported by a customer (Crisp session_072cac5c), Linear GET-1119.What
_is_posting_accountchecks an explicit_AD_PLATFORMSfrozenset (metaads, tiktokads, googleads, linkedinads, pinterestads, xads, openaiads, redditads, whopads) instead of the suffix.schedule_posttest accepts a Threads id. Both fail without the fix (2 failed), full suite 282 passed, 14 skipped.Follow-ups
developdeploys mcp.zernio.com via Railway, so this is held for Elean's merge.🤖 Generated with Claude Code