#AI information missing from `/api/stream/game/{id}`

2 messages · Page 1 of 1 (latest)

fierce warren
#

I wanted to post here first before creating a GitHub issue to check if this was intentional.

When streaming a game using (/api/stream/game/{id}) against Lichess ai (e.g. any TV "Computer" game). The initial response no longer sends the aiLevel field.

{
    "id": "tkiu5Awg",
    "variant": {
        "key": "standard",
        "name": "Standard",
        "short": "Std"
    },
    "speed": "blitz",
    "perf": "blitz",
    "rated": false,
    "fen": "r2qkb1r/pp3ppp/2pQ1n2/8/2B1P3/2N5/PPP1KPRP/R1B3n1 w kq - 3 13",
    "player": "white",
    "turns": 24,
    "startedAtTurn": 0,
    "source": "ai",
    "status": {
        "id": 20,
        "name": "started"
    },
    "createdAt": 1677181054010,
    "lastMove": "f3g1",
    "check": "e2",
    "players": {
        "white": {
            "user": {
                "name": "RafaelCabral",
                "id": "rafaelcabral"
            },
            "rating": 2342
        }
    }
}
{"fen":"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w","wc":300,"bc":300}
...

In the case above, I was expecting players to include {"black": {"aiLevel": 5}} which used to be included.

#

Hmm.. now on another game I got aiLevel but it isn't listed under the player color. But this one is also now missing the rating field... so something definitely seems odd.

{
    "id": "aBqE2Z2P",
    "variant": {
        "key": "standard",
        "name": "Standard",
        "short": "Std"
    },
    "speed": "blitz",
    "perf": "blitz",
    "rated": false,
    "fen": "4r1rk/1p1q1pb1/p2p1n1p/P1pP4/2P1P3/2N2P2/1P5P/R3Q1RK b - - 0 32",
    "player": "black",
    "turns": 63,
    "startedAtTurn": 0,
    "source": "ai",
    "status": {
        "id": 20,
        "name": "started"
    },
    "createdAt": 1677182074846,
    "lastMove": "a4a5",
    "players": {
        "white": {
            "user": {
                "name": "AVB_chess",
                "id": "avb_chess"
            },
            "aiLevel": 5
        }
    }
}