Create ChatGPT agent

bram/chatgpt
Bram van den Heuvel 2026-07-21 22:40:28 +02:00
parent 5453a8acc3
commit 32b2d4a6ad
2 changed files with 1112 additions and 1 deletions

1110
agents/chatgpt.py Normal file

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,7 @@
from __future__ import annotations from __future__ import annotations
import agents import agents
import agents.chatgpt
from pyserver import PyServer from pyserver import PyServer
@ -15,7 +16,7 @@ def main() -> int:
:return: Exit code :return: Exit code
:rtype: int :rtype: int
""" """
player = PyServer(agents.AgentOfChaos()) player = PyServer(agents.chatgpt.ChatGPTAgent())
# Start listening for games # Start listening for games
player.start( player.start(