Spaces:
Sleeping
Sleeping
Delanoe Pirard
commited on
Commit
·
5703e51
1
Parent(s):
8f0f1a7
stockfish ubuntu
Browse files- .gitattributes +0 -2
- agents/code_agent.py +0 -6
- packages.txt +3 -1
- prompts/code_gen_prompt.txt +0 -6
- stockfish +0 -0
.gitattributes
CHANGED
|
@@ -33,5 +33,3 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
-
*stockfish* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
stockfish filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
agents/code_agent.py
CHANGED
|
@@ -150,12 +150,6 @@ def initialize_code_agent() -> ReActAgent:
|
|
| 150 |
|
| 151 |
**Special Instructions for Chess-Related Tasks**:
|
| 152 |
- Prioritize using the Stockfish engine to solve chess problems.
|
| 153 |
-
- The Stockfish engine executable is located at `./stockfish`.
|
| 154 |
-
- To initialize Stockfish in code, use:
|
| 155 |
-
|
| 156 |
-
from stockfish import Stockfish
|
| 157 |
-
stockfish = Stockfish(path="./stockfish") - The Stockfish engine executable is located at `./stockfish` or the key "STOCKFISH_PATH" registered the path to the executable in the environment variables.
|
| 158 |
-
|
| 159 |
- Use `python-chess` to represent boards, generate and validate moves, and parse PGN/FEN.
|
| 160 |
|
| 161 |
**Available Python Packages**:
|
|
|
|
| 150 |
|
| 151 |
**Special Instructions for Chess-Related Tasks**:
|
| 152 |
- Prioritize using the Stockfish engine to solve chess problems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
- Use `python-chess` to represent boards, generate and validate moves, and parse PGN/FEN.
|
| 154 |
|
| 155 |
**Available Python Packages**:
|
packages.txt
CHANGED
|
@@ -5,4 +5,6 @@ libatk-bridge2.0-0
|
|
| 5 |
libgtk-3-0
|
| 6 |
libgbm-dev
|
| 7 |
ffmpeg
|
| 8 |
-
chromium-driver
|
|
|
|
|
|
|
|
|
| 5 |
libgtk-3-0
|
| 6 |
libgbm-dev
|
| 7 |
ffmpeg
|
| 8 |
+
chromium-driver
|
| 9 |
+
scid
|
| 10 |
+
stockfish
|
prompts/code_gen_prompt.txt
CHANGED
|
@@ -10,12 +10,6 @@ You are CodeAgent, a specialist in generating and executing Python code. Your mi
|
|
| 10 |
|
| 11 |
**Special Instructions for Chess-Related Tasks**:
|
| 12 |
- Prioritize using the Stockfish engine to solve chess problems.
|
| 13 |
-
- The Stockfish engine executable is located at `stockfish` or the key "STOCKFISH_PATH" registered the path to the executable in the environment variables.
|
| 14 |
-
- To initialize Stockfish in code, use:
|
| 15 |
-
|
| 16 |
-
from stockfish import Stockfish
|
| 17 |
-
stockfish = Stockfish(path="stockfish")
|
| 18 |
-
|
| 19 |
- Use `python-chess` to represent boards, generate and validate moves, and parse PGN/FEN.
|
| 20 |
|
| 21 |
**Available Python Packages**:
|
|
|
|
| 10 |
|
| 11 |
**Special Instructions for Chess-Related Tasks**:
|
| 12 |
- Prioritize using the Stockfish engine to solve chess problems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
- Use `python-chess` to represent boards, generate and validate moves, and parse PGN/FEN.
|
| 14 |
|
| 15 |
**Available Python Packages**:
|
stockfish
DELETED
|
File without changes
|