Skip to content

Conversation

@hyperlint-ai
Copy link
Contributor

@hyperlint-ai hyperlint-ai bot commented Jun 3, 2025

This pull request addresses several style guide violations, including incorrect casing for 'Cloudflare', removal of extraneous characters, and the use of contractions. The changes ensure compliance with the established style guide rules.

  • Corrected casing of 'cloudflare' to 'Cloudflare' in multiple instances (add-human-feedback-api.mdx)
  • Removed extraneous 's' in the sentence about Grok (add-human-feedback-api.mdx)
  • Updated quotes to standard single or double quotes where necessary (chat-completion.mdx, add-human-feedback-api.mdx)

@github-actions github-actions bot added product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ labels Jun 3, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2025

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/agents/ @irvinebroque, @rita3ko, @elithrar, @thomasgauvin, @threepointone, @cloudflare/pcx-technical-writing
/src/content/docs/ai-gateway/ @kathayl, @mchenco, @kodster28, @cloudflare/pcx-technical-writing

Copy link
Contributor

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

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

Other comments (1)
  • src/content/docs/agents/model-context-protocol/mcp-servers-for-cloudflare.mdx (13-13) The removal of the first part of the sentence ('These MCP servers allow your MCP Client to read configurations from your account, process information, make suggestions based on data, and even make those suggested changes for you.') creates a disconnected statement. The sentence now starts with 'All of these actions...' without explaining what actions are being referred to. Consider keeping the first part of the sentence or rewriting it to maintain clarity.

<PackageManagers
type="create"
pkg="cloudflare@latest"
pkg="Cloudflare@latest"
Copy link
Contributor

Choose a reason for hiding this comment

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

The package name should remain lowercase as cloudflare@latest. The npm package is published as lowercase 'cloudflare' (https://www.npmjs.com/package/cloudflare), and changing it to uppercase 'Cloudflare' would cause the package manager commands to fail.

<PackageManagers
type="create"
pkg="cloudflare@latest"
pkg="Cloudflare@latest"
Copy link
Contributor

Choose a reason for hiding this comment

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

The package name should remain lowercase as cloudflare@latest. The npm package is published as lowercase 'cloudflare' (https://www.npmjs.com/package/cloudflare), and changing it to uppercase 'Cloudflare' would cause the package manager commands to fail.

endpoint: "chat/completions",
headers: {
authorization: "Bearer ",
authorization: "Bearer",
Copy link
Contributor

Choose a reason for hiding this comment

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

The authorization header should include a space after 'Bearer'. According to OAuth 2.0 standards, the format should be 'Bearer {token}' with a space between 'Bearer' and the token value.

Suggested change
authorization: "Bearer",
authorization: "Bearer ",

@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2025

@kodster28 kodster28 closed this Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants