mirror of
https://github.com/LHY0125/Gobang-Game.git
synced 2026-06-28 16:35:55 +08:00
feat: 接入 LLM AI 引擎到 GUI,GameConfig 支持 useLlm 切换 AI 类型
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,10 @@ export interface GameConfig {
|
||||
playerColor: Color;
|
||||
isServer: boolean;
|
||||
remoteAddress: string;
|
||||
useLlm?: boolean;
|
||||
llmEndpoint?: string;
|
||||
llmApiKey?: string;
|
||||
llmModel?: string;
|
||||
}
|
||||
|
||||
export interface MoveResult {
|
||||
|
||||
Reference in New Issue
Block a user