Skip to content

refactor(sdk)!: Remove deprecated tool APIs - #2609

Closed
Luca Forstner (lforst) wants to merge 5 commits into
v4from
lforst/dum-e/bangkok-7c1a5f781a
Closed

Luca Forstner (lforst) wants to merge 5 commits into
v4from
lforst/dum-e/bangkok-7c1a5f781a

Conversation

@lforst

@lforst Luca Forstner (lforst) commented Oct 12, 2026 •

Copy link
Copy Markdown
Member
  • Remove project.tools.create(), which defined tools in Braintrust, and support for referencing saved tools from prompts.
  • Prompts now accept only inline provider tool definitions:
    project.prompts.create({
      name: "Assistant",
      model: "gpt-4o-mini",
      messages: [{ role: "user", content: "What time is it?" }],
      // Define tools inline instead of referencing saved Braintrust tools.
      tools: [{ type: "function", function: { name: "get_current_time" } }],
    });
  • Remove "tool" from the SDK’s supported function types.
  • ref v4 #1841

@AbhiPrasad

Copy link
Copy Markdown
Member

soft-deprecating tools and parameters in braintrust

Is there a doc for this? How did we decide on it?

@lforst

Copy link
Copy Markdown
Member Author

@lforst Luca Forstner (lforst) changed the title refactor(sdk)!: Remove deprecated tools and configurations refactor(sdk)!: Remove deprecated tool APIs Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants