Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update external engine api #350

Merged
merged 1 commit into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions doc/specs/schemas/ExternalEngine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ properties:
example: 2048
minimum: 1
maximum: 1048576
defaultDepth:
type: integer
description: Estimated depth of normal search.
example: 24
minimum: 0
maximum: 246
variants:
type: array
description: List of supported chess variants.
Expand All @@ -60,5 +54,4 @@ required:
- name
- maxThreads
- maxHash
- defaultDepth
- variants
7 changes: 0 additions & 7 deletions doc/specs/schemas/ExternalEngineRegistration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ properties:
example: 2048
minimum: 1
maximum: 1048576
defaultDepth:
type: integer
description: Estimated depth of normal search.
example: 24
minimum: 0
maximum: 246
variants:
type: array
description: Optional list of supported chess variants.
Expand Down Expand Up @@ -65,5 +59,4 @@ required:
- name
- maxThreads
- maxHash
- defaultDepth
- providerSecret
18 changes: 12 additions & 6 deletions doc/specs/schemas/ExternalEngineWork.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ properties:
minimum: 1
description: Hash table size to use for analysis, in MiB.
example: 128
infinite:
type: boolean
description: |
Request an infinite search (rather than roughly aiming for
`defaultDepth`).
example: false
multiPv:
type: integer
minimum: 1
Expand All @@ -40,6 +34,18 @@ properties:
items:
type: string
example: ['e2e4', 'g8f6']
movetime:
type: integer
description: Amount of time to analyse the position, in milliseconds.
minimum: 1
depth:
type: integer
description: Analysis target depth
minimum: 1
nodes:
type: integer
description: Number of nodes to analyse in the position
minimum: 1
required:
- sessionId
- threads
Expand Down