Skip to content

chore: Add deprecated ai.chat_completions.create.cohere and ai.embeddings.create.cohere - #695

Open
alexander-alderman-webb wants to merge 2 commits into
mainfrom
webb/cohere
Open

alexander-alderman-webb wants to merge 2 commits into
mainfrom
webb/cohere

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Description

Document attributes set by the cohere integration.

PR Checklist

  • I have run yarn test and verified that the tests pass.
  • I have run yarn generate to generate and format code and docs.

If an attribute was added:

  • The attribute is in a namespace (e.g. nextjs.function_id, not function_id)
  • I have used the correct value for apply_scrubbing (i.e. manual or auto. Use never only for values that should never be scrubbed such as IDs)

If an attribute was deprecated:

@vercel

vercel Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-conventions Ready Ready Preview Oct 12, 2026 12:01pm UTC

Request Review

@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Add integrity policy attributes by loewenheim in #691
  • Deprecate legacy MCP tool result fields by betegon in #689
  • Align MCP conventions and OAuth client identity by betegon in #671
  • Add AWS service instrumentation attributes by pabloDeputter in #672
  • Add gen_ai memory conventions by ArthurKnaus in #653

Other

  • (model) Add metric model by giortzisg in #649
  • Add enum_values entries to shorten attribute briefs by alexander-alderman-webb in #685

Bug Fixes 🐛

Attributes

  • Add search_alias to sentry.link.type attribute by Lms24 in #687
  • Remove any as valid attribute type by Lms24 in #677

Other

  • Use path.posix.join instead of path.join for Windows compatibility by alexander-alderman-webb in #688

Documentation 📚

  • (contributing) Document process for fixing a misnamed attribute by sentry-junior in #673

Internal Changes 🔧

Deps

  • Bump sharp from 0.35.4 to 0.35.5 by dependabot in #683
  • Bump source-map-js from 1.2.1 to 1.2.2 by dependabot in #675
  • Bump smol-toml from 1.8.0 to 1.9.0 by dependabot in #674
  • Bump postcss-selector-parser from 7.1.4 to 7.1.6 by dependabot in #676

Other

  • (deps-dev) Bump oxfmt to 0.72.0 to pull in patched tinypool by Lms24 in #682
  • (docs) Add link preview meta tags by Lms24 in #667
  • (publish) Stop npm version from rewriting yarn.lock by Lms24 in #678
  • Add deprecated ai.chat_completions.create.cohere and ai.embeddings.create.cohere by alexander-alderman-webb in #695
  • Add "evaluate" as a well-known value for gen_ai.operation.name by alexander-alderman-webb in #680
  • Deprecate mcp.tool.result.content_count by alexander-alderman-webb in #669

🤖 This preview updates automatically when you update the PR.

Comment thread model/op/gen_ai.json
Comment on lines +9 to +20
{
"name": "ai.chat_completions.create.cohere",
"deprecation": {
"note": "Use `gen_ai.chat` instead. Provider-specific AI ops are replaced by framework-agnostic ones."
}
},
{
"name": "ai.embeddings.create.cohere",
"deprecation": {
"note": "Use `gen_ai.embeddings` instead. Provider-specific AI ops are replaced by framework-agnostic ones."
}
},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is no description intended?

@alexander-alderman-webb alexander-alderman-webb Oct 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only intention here is to document that this exists and that we shouldn't set it anymore.
So I don't think this needs a description.

This branch was successfully deployed

1 active deployment
Preview — f551aae4 Deployed Oct 12, 2026 by vercel[bot]
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.

3 participants