feat: 接入 LLM AI 引擎到 GUI,GameConfig 支持 useLlm 切换 AI 类型

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-31 13:46:45 +08:00
parent 75c980e2b6
commit dddfd035c6
3 changed files with 36 additions and 14 deletions
+4
View File
@@ -20,6 +20,10 @@ export interface GameConfig {
playerColor: Color;
isServer: boolean;
remoteAddress: string;
useLlm?: boolean;
llmEndpoint?: string;
llmApiKey?: string;
llmModel?: string;
}
export interface MoveResult {