Closed Bug 2078933 Opened 1 month ago Closed 26 days ago

Generate widgets from a prompt

Categories

(Firefox :: Widgets, task, P3)

task
Points:
8

Tracking

()

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: fchasen, Assigned: fchasen)

References

(Blocks 1 open bug)

Details

(Whiteboard: [hnt][hnt-wattle])

Attachments

(1 external file)

Add a WidgetGenerator class that can use the ai-engine tools to generate an extension.

Points: --- → 5
Assignee: nobody → fchasen
Status: NEW → ASSIGNED
Points: 5 → 8

Generated widgets are small unprivileged extensions whose files are written by a model from a prompt.

  • Adds WidgetGenerator.generate(), which runs a conversation through openAIEngine until a reply calls no tools.
  • The model calls the write_file tool to add each of the widget's files.
  • Gets the system prompt, model and parameters from remote settings.
Status: ASSIGNED → RESOLVED
Closed: 26 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
QA Whiteboard: [qa-triage-done-c162/b161]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: