From cc5f5e35e4d2daa5bf8d9255a839455e01677012 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Fri, 5 Dec 2025 13:00:19 -0500 Subject: [PATCH] Clean up some comments --- crates/extension_api/wit/since_v0.8.0/extension.wit | 4 ---- crates/extension_api/wit/since_v0.8.0/llm-provider.wit | 8 -------- crates/extension_host/src/wasm_host/wit.rs | 4 ---- 3 files changed, 16 deletions(-) diff --git a/crates/extension_api/wit/since_v0.8.0/extension.wit b/crates/extension_api/wit/since_v0.8.0/extension.wit index 8724369ec0472f13d16a1f0f8a509cfe381be4e1..b972b78a80ed56cd632f0fa9854bc004d2620f28 100644 --- a/crates/extension_api/wit/since_v0.8.0/extension.wit +++ b/crates/extension_api/wit/since_v0.8.0/extension.wit @@ -170,10 +170,6 @@ world extension { export dap-locator-create-scenario: func(locator-name: string, build-config-template: build-task-template, resolved-label: string, debug-adapter-name: string) -> option; export run-dap-locator: func(locator-name: string, config: resolved-task) -> result; - // ========================================================================= - // Language Model Provider Extension API - // ========================================================================= - /// Returns information about language model providers offered by this extension. export llm-providers: func() -> list; diff --git a/crates/extension_api/wit/since_v0.8.0/llm-provider.wit b/crates/extension_api/wit/since_v0.8.0/llm-provider.wit index abf113c3910279b313ed5e97a7f56e01adac0780..c0d6b371a88e9f10292710998d38962f8910b2dc 100644 --- a/crates/extension_api/wit/since_v0.8.0/llm-provider.wit +++ b/crates/extension_api/wit/since_v0.8.0/llm-provider.wit @@ -253,10 +253,6 @@ interface llm-provider { min-total-token-count: u64, } - // ========================================================================= - // OAuth Web Auth Flow Types - // ========================================================================= - /// Configuration for starting an OAuth web authentication flow. record oauth-web-auth-config { /// The URL to open in the user's browser to start authentication. @@ -300,10 +296,6 @@ interface llm-provider { body: string, } - // ========================================================================= - // Import Functions (callable by extensions) - // ========================================================================= - /// Request a credential from the user. /// Returns true if the credential was provided, false if the user cancelled. request-credential: func( diff --git a/crates/extension_host/src/wasm_host/wit.rs b/crates/extension_host/src/wasm_host/wit.rs index aeefa72237175ff124375f1b207bc18cdb0e2ba2..eef2e2c79ea148fddd97432f75882bd684ec65be 100644 --- a/crates/extension_host/src/wasm_host/wit.rs +++ b/crates/extension_host/src/wasm_host/wit.rs @@ -1176,10 +1176,6 @@ impl Extension { } } - // ========================================================================= - // LLM Provider Methods (v0.8.0+) - // ========================================================================= - pub async fn call_llm_providers( &self, store: &mut Store,