Skip to content

There’s no mechanism to pass env / secrets into the agent container #50

Description

@nickhuo

inject api key like openai, anthropic, embedding model etc

User need to put their .env to global_controller.yaml, then ventis will:

  1. copy this file as-is to the machine where is going to run the container
  2. when starting the container, add --env-file <file path>, e.g. (every host will have one copy in the end)
if env_file_path:
    cmd.extend(["--env-file", env_file_path])
  1. delete the copy that was pushed to the remote machine

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions