*/ if (!defined('ABSPATH')) exit; // Exit if accessed directly for security // phpcs:disable PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage echo '

AI Tool Center Icon AI Tool Center Nimbot Head

'; // Display any admin settings errors or notifications settings_errors(); echo '
'; echo '
'; // Output security fields for the registered setting settings_fields(AITOCE_OPTION_SLUG_DATABASE); // Output all settings sections and fields for this page do_settings_sections(AITOCE_OPTION_SLUG_DATABASE); // Output the submit button echo '

'; /*echo '

Instructions

To view any possible setup errors you can use Google Chrome DevTools.

  1. To use right click on mouse over website page with the Agent on, select Inspect.
  2. In the header of the new window select Console.
  3. Send a message / question with Agent.
  4. When the Agent replies you will see >Object in the Console window and if you expand this you will see if there are any errors.

Example

{success: false, data: {…}}
  data:
  {message: "No agents configured. - Code: 0x80001005", assistant: "Assistant Offline!"}
  success: false
  [[Prototype]]: Object

Plugin And API Receiver Code Errors

Plugin Errors

Code :
Error :
0x80000001
Invalid Account - May not have an Account or wrong Account API Key or Domain Name.
Code :
Error :
0x80001001
Agent ID missing or invalid.
Code :
Error :
0x80001002
Message ID missing or invalid.
Code :
Error :
0x80001003
Last prompt / client message missing / null.
Code :
Error :
0x80001004
Prompt / message format missing (popup or page).
Code :
Error :
0x80001005
No agents configured.
Code :
Error :
0x80001006
Requested agent not found. Free accounts, only first Agent used. Basic accounts, Agent must be one of first 3 Agents listed. Advanced accounts, all agents available.

Receiver Errors

Code :
Error :
0x80002001
Account API Key invalid or Referring Domain invalid.
Code :
Error :
0x80002003
Own LLM Model details missing $llm_api_url, $llm_api_key, $llm_model.
Code :
Error :
0x80002004
Missing or invalid message ID or prompt content.
';*/ echo '
';