mirror of
https://github.com/anthropics/skills
synced 2026-07-05 03:26:53 +00:00
chore: update claude-api skill (#956)
Add shared/model-migration.md and refresh model references, managed agents docs, and skill description across all language guides.
This commit is contained in:
@@ -51,7 +51,7 @@ puts "Environment ID: #{environment.id}" # env_...
|
||||
# 1. Create the agent (reusable, versioned)
|
||||
agent = client.beta.agents.create(
|
||||
name: "Coding Assistant",
|
||||
model: :"claude-opus-4-6",
|
||||
model: :"claude-opus-4-7",
|
||||
system_: "You are a helpful coding assistant.",
|
||||
tools: [{type: "agent_toolset_20260401"}]
|
||||
)
|
||||
@@ -260,7 +260,7 @@ client.beta.sessions.delete(session.id)
|
||||
# Agent declares MCP server (no auth here — auth goes in a vault)
|
||||
agent = client.beta.agents.create(
|
||||
name: "GitHub Assistant",
|
||||
model: :"claude-opus-4-6",
|
||||
model: :"claude-opus-4-7",
|
||||
mcp_servers: [
|
||||
{
|
||||
type: "url",
|
||||
|
||||
Reference in New Issue
Block a user