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

Recipe

smolagents

A smolagents agent application for local development via Docker Compose. Synthesized-mode Workload: image and environment are translated from the Workload kind by the compose provider. The model endpoint published by the component wired into the `model` socket is rendered as OPENAI_BASE_URL, the environment variable the OpenAI-compatible client SDK reads; a model API key attached on the `model` connection arrives on the inject pipe as OPENAI_API_KEY. The model name is delivered as OPENAI_MODEL by default; a connection writing an `inject:` block receives the names it dictates in its place, as variables or as files mounted at the paths it names, while OPENAI_BASE_URL and the API key stay. The agent's own values reach the container as SMOLAGENTS_AGENT_TYPE and SMOLAGENTS_MAX_STEPS by default. The component's own `inject:` block delivers its entries as a connection's are, and one reading a value alone replaces that value's default name.

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:d00b1e4c757db969f43f83b91c0819aae3ca7924963d3f189e4f4a2099e11157
Đã xuất bản
2026-11-10T10:20:57Z
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:712e01dfd60b4b9d2a1cf466b4cad6112a53266f75ab4470e525a19f1cf227dd

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

oci://hub.aggrega.ai/recipe/compose/smolagents:1.0.0
Đích
—
Triển khai
core/ai-agent/smolagents: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ư