Skip to content

Commit

Permalink
AI chat: Fix generation limit always reached
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikely4r authored Nov 23, 2024
1 parent e1027a0 commit a8b6e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playerbot/PlayerbotLLMInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class PlayerbotLLMInterface

static void LimitContext(std::string& context, uint32 currentLength);
private:
std::atomic<uint32> generationCount;
std::atomic<uint32> generationCount = 0;
};

#define sPlayerbotLLMInterface MaNGOS::Singleton<PlayerbotLLMInterface>::Instance()
Expand Down

0 comments on commit a8b6e5d

Please sign in to comment.