Commit graph

6 commits

Author SHA1 Message Date
Nikita
d62b7cea7e prevent AI replying with technical blocks info 2024-12-28 19:57:38 +03:00
Nikita
e4df5e290e changed popup and work with contexts
add possibility to provide current page context and selected blocks context
simplified popup by removing suggestions on initial load
simplified popup footer styles and
2024-12-28 15:26:25 +03:00
Nikita
e4aefcdaf9 Update class-prompts.php 2024-12-27 20:23:39 +03:00
Nikita
2215ecbce3 simplified prompt and added 2 examples 2024-12-27 16:44:30 +03:00
Nikita
e67eca2ee0 added support for Anthropic and it is recommended
move code to work with AI from rest class to separate class
2024-12-27 14:31:22 +03:00
Nikita
1eda5f0e15 improved prompts and move to separate class
added support for OpenAI api error messages
2024-12-27 00:42:38 +03:00