Skip to content

Conversation

@howardjohn
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings October 9, 2025 22:57
@howardjohn howardjohn requested a review from a team as a code owner October 9, 2025 22:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds scheme and host information to the CEL (Common Expression Language) request context, enhancing the available HTTP request attributes for expression evaluation.

  • Adds host and scheme fields to the request context structure
  • Updates documentation and schema definitions to include examples and descriptions
  • Integrates http-serde dependency for proper serialization of HTTP types

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

File Description
schema/cel.json Adds host and scheme fields to JSON schema with nullable string types
schema/README.md Updates documentation table with new fields but missing descriptions
crates/agentgateway/src/cel/mod.rs Implements host and scheme extraction from URI in request context
Cargo.toml Adds http-serde dependency for HTTP type serialization

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +866 to +867
|`request.host`||
|`request.scheme`||
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

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

The descriptions for request.host and request.scheme fields are missing. Consider adding descriptions like 'The host component of the request URI' and 'The scheme component of the request URI (e.g., http, https)' respectively.

Suggested change
|`request.host`||
|`request.scheme`||
|`request.host`|The host component of the request URI.|
|`request.scheme`|The scheme component of the request URI (e.g., http, https).|

Copilot uses AI. Check for mistakes.
@howardjohn howardjohn merged commit f41b350 into agentgateway:main Oct 13, 2025
7 checks passed
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.

1 participant