mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-26 17:13:09 +00:00
moved to community folder
This commit is contained in:
parent
a17dbdfedc
commit
0f61c9dbde
24 changed files with 118 additions and 9 deletions
16
environments/community/deepsacrifice_chess/src/api/client.ts
Normal file
16
environments/community/deepsacrifice_chess/src/api/client.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// API client for DeepSacrifice frontend
|
||||
|
||||
export async function fetchLatestGames() {
|
||||
// TODO: Replace with real fetch
|
||||
return [{ fen: "startpos", moves: [] }];
|
||||
}
|
||||
|
||||
export async function fetchAgentStatus() {
|
||||
// TODO: Replace with real fetch
|
||||
return { gamesPlayed: 0, avgReward: 0 };
|
||||
}
|
||||
|
||||
export async function startTraining() {
|
||||
// TODO: Replace with real POST
|
||||
return { started: true };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue