mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 13:05:08 +09:00
acfc8c41665f176a7e36ecbdf52a2b077fb12e95
After detecting a command via /rest/ai/detect we invoke the /rest/ai endpoint with the command. If the command is not a text generation, we run the operations chain that supports multiple operations in the same prompt. Instead of refactoring the entire operations chain to support configurable operations, for now in this PR I am just prepending the user prompt with the `command` name in order to help the AI disambiguate.
Languages
TypeScript
98.9%
PLpgSQL
0.5%
CSS
0.3%
Shell
0.2%
JavaScript
0.1%
