Skip to content

Completion complete - #121

Open
cafalchio wants to merge 4 commits into
mainfrom
completion_complete
Open

Completion complete#121
cafalchio wants to merge 4 commits into
mainfrom
completion_complete

Conversation

@cafalchio

Copy link
Copy Markdown
Contributor

Added support for completions.
Conformance test is passing.

Completion tests are still marked are ignored as they are dependent on list_prompt and list_resources.

@lucarlig lucarlig left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Requesting changes: completion routing uses the wrong table, rewrites the wrong field, and is not advertised through discovery; please also enable a positive dataplane-only test.

Comment thread crates/contextforge-data-plane-lib/src/gateway/mcp_service/completion.rs Outdated
Comment thread crates/contextforge-data-plane-lib/src/gateway/mcp_service/completion.rs Outdated
use super::McpService;

#[allow(clippy::unused_async)]
pub(super) async fn complete(

@lucarlig lucarlig Sep 4, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

server/discover currently advertises no completions capability, so capability-aware clients will never invoke this handler.

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.

I think this needs to be addressed on the discover.

Signed-off-by: cafalchio <mcafalchio@gmail.com>
Signed-off-by: cafalchio <mcafalchio@gmail.com>
Signed-off-by: Matheus <mcafalchio@gmail.com>
Signed-off-by: Matheus <mcafalchio@gmail.com>
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