Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cookbook/python/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def main():
try:
# Create agent
agent = await client.agents.create(
name="Dad Jokes Bot",
name="dad-jokes-bot-py",
system_prompt="You are a dad joke expert. Tell one short, cheesy dad joke.",
)
print(f"Created agent: {agent.id}")
Expand Down
2 changes: 1 addition & 1 deletion cookbook/python/src/weather_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async def main():
try:
# Create agent with tool-aware system prompt
agent = await client.agents.create(
name="Weather Assistant",
name="weather-assistant-py",
system_prompt=SYSTEM_PROMPT,
)
print(f"Created agent: {agent.id}")
Expand Down
2 changes: 1 addition & 1 deletion cookbook/rust/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let agent = client
.agents()
.create(
"Dad Jokes Bot",
"dad-jokes-bot-rs",
"You are a dad joke expert. Tell one short, cheesy dad joke.",
)
.await?;
Expand Down
2 changes: 1 addition & 1 deletion cookbook/rust/src/weather_tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Create agent with tool-aware system prompt
let agent = client
.agents()
.create("Weather Assistant", SYSTEM_PROMPT)
.create("weather-assistant-rs", SYSTEM_PROMPT)
.await?;
println!("Created agent: {}", agent.id);

Expand Down
2 changes: 1 addition & 1 deletion cookbook/typescript/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function main() {

// Create agent
const agent = await client.agents.create({
name: "Dad Jokes Bot",
name: "dad-jokes-bot-ts",
systemPrompt: "You are a dad joke expert. Tell one short, cheesy dad joke.",
});
console.log(`Created agent: ${agent.id}`);
Expand Down
2 changes: 1 addition & 1 deletion cookbook/typescript/src/weather_tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async function main() {

// Create agent with tool-aware system prompt
const agent = await client.agents.create({
name: "Weather Assistant",
name: "weather-assistant-ts",
systemPrompt: SYSTEM_PROMPT,
});
console.log(`Created agent: ${agent.id}`);
Expand Down
Loading
Loading