run method

Future<void> run(
  1. List<String> a
)

Implementation

Future<void> run(List<String> a) async {
  await updateConfig();

  if (config.connector.apiKey == "API_KEY_HERE") {
    error(
      "Please set your API key in the config file at ${_configFile().absolute.path}",
    );
    return;
  }

  await runChat([
    ChatMessage.humanText(a.join(" ")),
  ], recursiveLimit: config.recursiveLimit);
}