mirror of
https://github.com/WenPai-org/wpmind.git
synced 2025-08-06 05:32:11 +08:00
improved prompts and move to separate class
added support for OpenAI api error messages
This commit is contained in:
parent
1d708eca9d
commit
1eda5f0e15
3 changed files with 349 additions and 308 deletions
1
mind.php
1
mind.php
|
@ -84,6 +84,7 @@ class Mind {
|
|||
* Include dependencies
|
||||
*/
|
||||
private function include_dependencies() {
|
||||
require_once $this->plugin_path . 'classes/class-prompts.php';
|
||||
require_once $this->plugin_path . 'classes/class-admin.php';
|
||||
require_once $this->plugin_path . 'classes/class-assets.php';
|
||||
require_once $this->plugin_path . 'classes/class-rest.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue