Skip to content

Using new ai endpoints instead of Odie#108581

Open
robfelty wants to merge 1 commit intoadd/unified-chat-querystringfrom
add/applied-ai-use-new-endpoints-hal-567
Open

Using new ai endpoints instead of Odie#108581
robfelty wants to merge 1 commit intoadd/unified-chat-querystringfrom
add/applied-ai-use-new-endpoints-hal-567

Conversation

@robfelty
Copy link
Contributor

@robfelty robfelty commented Feb 9, 2026

Part of #

Proposed Changes

Why are these changes being made?

Testing Instructions

Note that I have not gotten testing of this to work yet. Even though the changes are pointing to the new endpoints, in my testing, it still seems to be pointing to the old ones. I followed all the instructions from PCYsg-OT6-p2 but it still is not working. Here is what should work:

Apply this patch on your wp.com sandbox: 202999-ghe-Automattic/wpcom
Sandbox the public-api and widgets.wordpress.com

Navigate to http://calypso.localhost:3000/?agent=wpcom-workflow-support_chat&version=1.0.25

Try getting your conversation history and getting an individual chat. Both should work.
You should see in the dev console that there are no more requests to /wpcom/v2/odie/chat, but instead to /wpcom/v2/ai/chat

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • Have you tested accessibility for your changes? Ensure the feature remains usable with various user agents (e.g., browsers), interfaces (e.g., keyboard navigation), and assistive technologies (e.g., screen readers) (PCYsg-S3g-p2).
  • Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
    • For UI changes, have we tested the change in various languages (for example, ES, PT, FR, or DE)? The length of text and words vary significantly between languages.
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?

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