Rakshithn123 commited on
Commit
afd71c6
·
1 Parent(s): f67c348

import fix

Browse files
Files changed (2) hide show
  1. client.py +2 -1
  2. server/app.py +1 -2
client.py CHANGED
@@ -3,7 +3,7 @@ Second Brain Environment — WebSocket Client
3
  Connects to the running server and exposes reset()/step()/state().
4
  """
5
  from openenv.core.env_client import EnvClient
6
- from models import SecondBrainAction, SecondBrainObservation
7
 
8
 
9
  class SecondBrainEnv(EnvClient):
@@ -25,6 +25,7 @@ class SecondBrainEnv(EnvClient):
25
 
26
  action_type = SecondBrainAction
27
  observation_type = SecondBrainObservation
 
28
 
29
  def __init__(self, base_url: str = "http://localhost:8000", task_name: str = "note_categorization"):
30
  super().__init__(base_url=base_url)
 
3
  Connects to the running server and exposes reset()/step()/state().
4
  """
5
  from openenv.core.env_client import EnvClient
6
+ from models import SecondBrainAction, SecondBrainObservation , SecondBrainState
7
 
8
 
9
  class SecondBrainEnv(EnvClient):
 
25
 
26
  action_type = SecondBrainAction
27
  observation_type = SecondBrainObservation
28
+ state_type = SecondBrainState
29
 
30
  def __init__(self, base_url: str = "http://localhost:8000", task_name: str = "note_categorization"):
31
  super().__init__(base_url=base_url)
server/app.py CHANGED
@@ -3,8 +3,7 @@ FastAPI server for Second Brain OpenEnv environment.
3
  Exposes reset(), step(), state() over HTTP + WebSocket.
4
  """
5
  import os
6
- from typing import Optional
7
- from fastapi import FastAPI, Query
8
  from openenv.core.env_server import create_app
9
 
10
  from second_brain_env_environment import SecondBrainEnvironment
 
3
  Exposes reset(), step(), state() over HTTP + WebSocket.
4
  """
5
  import os
6
+ from fastapi import FastAPI
 
7
  from openenv.core.env_server import create_app
8
 
9
  from second_brain_env_environment import SecondBrainEnvironment