Skip to content

Commit

Permalink
v1.2.3 Extended CoreService period to 24 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcticRaven committed Mar 31, 2024
1 parent afe09f1 commit 78ac0ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = 'dev.arctic'
version = '1.2.2'
version = '1.2.3'

repositories {
mavenCentral()
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/dev/arctic/aicore/AiCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
import dev.arctic.aicore.objects.AiCoreService;
import dev.arctic.aicore.utils.CommandManager;
import dev.arctic.aicore.utils.TabComplete;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.*;

public final class AiCore extends JavaPlugin {

public static AiCore AICORE_PLUGIN;
@Getter public static AiCore AICORE_PLUGIN;
/**
* A List of all open services, iterable for updating, viewing, and closing services
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/arctic/aicore/objects/AiCoreService.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class AiCoreService {
*/
public AiCoreService(String apiKey, String name) {
// Initialize the services with the given API key
this.service = new OpenAiService(apiKey, Duration.ofSeconds(30));
this.service = new OpenAiService(apiKey, Duration.ofSeconds(86400));
this.chatService = new ChatService(service);
this.assistantService = new AssistantService(service);

Expand Down

0 comments on commit 78ac0ab

Please sign in to comment.