add sandbox extra env config
This commit is contained in:
parent
32793de992
commit
9ed24b1ae9
7 changed files with 28 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class DockerSandboxRuntime(SandboxRuntime):
|
|||
container = self._client.containers.run(
|
||||
self._config.image,
|
||||
detach=True,
|
||||
environment={'AGENT_ID': agent_id},
|
||||
environment={**self._config.extra_env, 'AGENT_ID': agent_id},
|
||||
labels=self._labels(
|
||||
session_id,
|
||||
chat_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue