Closed Bug 2096665 Opened 5 days ago Closed 3 days ago

Add a new endpoint pref for generated widgets that points to staging

Categories

(Firefox :: Widgets, task)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: fchasen, Assigned: fchasen)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Needs to be separate from the current smart window endpoint.

Adds browser.widgets.generated.endpoint, defaulting to the staging MLPA host, and renames the pref for an OpenAI-compatible server reached with an API key to browser.widgets.generated.customEndpoint.

Since the new pref defaults to staging, a 401 now ends generation with an auth error. A 401 is retried with a new account token only when browser.widgets.generated.endpoint matches browser.smartwindow.endpoint, because openAIEngine treats any other URL as a custom endpoint.

Assignee: nobody → fchasen
Status: NEW → ASSIGNED
Attachment #9688885 - Attachment description: Bug 2096665 - Add an endpoint pref for generated widgets that points to staging. r?nina-py → Bug 2096665 - Add an endpoint pref for generated widgets that points to staging. r=nina-py!
Attachment #9688885 - Attachment description: Bug 2096665 - Add an endpoint pref for generated widgets that points to staging. r=nina-py! → Bug 2096665 - Add an endpoint pref for generated widgets that points to staging. r?nina-py
Status: ASSIGNED → RESOLVED
Closed: 3 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: