HUB
Sign inSign up

ouranoshong/openheron-kit-openai:latest

Manifest digest

sha256:5562f301d2cfe6868d3daef750e9dcdbbee7def59c1decc94b65a7474d7d9cec

Last pushed

8 days by ouranoshong

Type

Sandbox Kit

Manifest digest

sha256:5562f301d2cfe6868d3daef750e9dcdbbee7def59c1decc94b65a7474d7d9cec

yaml
schemaVersion: "3"
displayName: openheron credential (OpenAI)
description: the OpenAI model credential for an openheron workload, injected by the host proxy
licenses:
    - Apache-2.0
kind: mixin
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        runtime:
            allow:
                - api.openai.com
    - type: com.docker.sandbox/credential@1
      optional: true
      config:
        apiKey:
            inject:
                - domain: api.openai.com
                  format: Bearer %s
                  header: Authorization
            name: LLM_OPENAI_API_KEY
            proxyManaged: true
        phase: runtime
        service: openai
      description: OpenAI API access