-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Support LocalEnv #53
Support LocalEnv #53
Conversation
rdagent/utils/env.py
Outdated
|
||
conf: LocalConf | ||
def prepare(self): | ||
qtde = QTDockerEnv() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we use docker env?
rdagent/utils/env.py
Outdated
|
||
def run(self, | ||
entry: str | None = None, | ||
local_path: Optional[str] = None) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
env: dict | None = None
is not implemented
rdagent/utils/env.py
Outdated
@@ -62,15 +63,49 @@ def run(self, entry: str | None, local_path: str | None = None, env: dict | None | |||
|
|||
|
|||
class LocalConf(BaseModel): | |||
py_entry: str # where you can find your python path | |||
py_entry: str |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe py_bin_folder will be a better name,
📚 Documentation preview 📚: https://RDAgent--53.org.readthedocs.build/en/53/