Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

Recipe

openai-agents-sdk

An application built on the OpenAI Agents SDK, for local development via Docker Compose. Synthesized-mode Workload: the image the Release supplies and its environment are translated from the Workload kind by the compose provider. The model wired into the `model` socket reaches the application as the variables the SDK reads: its endpoint as OPENAI_BASE_URL, its model name as OPENAI_DEFAULT_MODEL, and the connection's credential as OPENAI_API_KEY. While the component's upload_traces_to_openai value is false, its default, it also receives OPENAI_AGENTS_DISABLE_TRACING set to 1, which turns off the SDK's trace upload to OpenAI; set true, the variable is absent. Each tool wired into the `tools` socket reaches it under the variables helm/openai-agents-sdk names: its address as AGGREGA_TOOL_<ALIAS>_URL, or the whole address the connection holds as a secret in its place, and the connection's credential as AGGREGA_TOOL_<ALIAS>_CREDENTIAL beside the header the tool publishes, AGGREGA_TOOL_<ALIAS>_CREDENTIAL_HEADER. A connection writing an `inject:` block, or the component's own, delivers the names it dictates, as on helm/openai-agents-sdk, a file as a compose config mounted at the path it names. Compose has no secret reference, so a secret held on a connection is written into the file as it was delivered; a Compose variable reference such as ${MODEL_API_KEY} is written as that reference, and Docker Compose substitutes it when the stack starts. Two secrets the Release alone attaches, a model credential beside a tool credential, both arrive under the key value and halt the build naming both; an Aggregate naming values.key on one of them avoids it.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:94f34a55c1d6bcbaacbc4aa23009867a950ecdb97b7a694d7ee61c8c00391980
Đã xuất bản
2026-11-10T10:20:07Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:463f33e9726bd19b7d88974a78e56fa85653c3d7fae03238d06980ef958ef94c

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/recipe/compose/openai-agents-sdk:1.0.0
Đích
—
Triển khai
core/ai-agent/openai-agents-sdk:1.0.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

Chưa khai báo mẫu provides nào.

Workload

Workload · form: stateless · containers: main

Giá trị cục bộ

Chưa khai báo giá trị cục bộ nào.

Ánh xạ values

Chưa khai báo ánh xạ values nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm Recipe →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư