Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- server/environment.py +2 -2
server/environment.py
CHANGED
|
@@ -210,9 +210,9 @@ class NL2SQLEnvironment(Environment):
|
|
| 210 |
reward=reward,
|
| 211 |
score=score,
|
| 212 |
)
|
| 213 |
-
|
| 214 |
self._last_obs = obs
|
| 215 |
-
|
|
|
|
| 216 |
info = {"score": score, "error": error}
|
| 217 |
return obs, reward, done, info
|
| 218 |
|
|
|
|
| 210 |
reward=reward,
|
| 211 |
score=score,
|
| 212 |
)
|
|
|
|
| 213 |
self._last_obs = obs
|
| 214 |
+
|
| 215 |
+
# CRITICAL FIX: Return the 4-part OpenEnv tuple!
|
| 216 |
info = {"score": score, "error": error}
|
| 217 |
return obs, reward, done, info
|
| 218 |
|