WIP fase 2b-3: rimozione sottosistemi solo-ChatGPT (plugin remoti, image gen, daybreak, cyber, attestation, cloud config, app/connettori) - test in corso
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -280,7 +280,6 @@ impl ModelProvider for AmazonBedrockModelProvider {
|
||||
fn capabilities(&self) -> ProviderCapabilities {
|
||||
ProviderCapabilities {
|
||||
reasoning_summaries: true,
|
||||
image_generation: false,
|
||||
web_search: self.endpoint == BedrockEndpoint::Mantle,
|
||||
external_web_access: false,
|
||||
remote_compaction: RemoteCompactionSupport::V2,
|
||||
@@ -690,7 +689,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn capabilities_enable_web_search_but_disable_image_generation() {
|
||||
fn capabilities_enable_web_search() {
|
||||
let provider = AmazonBedrockModelProvider::new(
|
||||
ModelProviderInfo::create_amazon_bedrock_provider(/*aws*/ None),
|
||||
/*auth_manager*/ None,
|
||||
@@ -700,7 +699,6 @@ mod tests {
|
||||
provider.capabilities(),
|
||||
ProviderCapabilities {
|
||||
reasoning_summaries: true,
|
||||
image_generation: false,
|
||||
web_search: true,
|
||||
external_web_access: false,
|
||||
remote_compaction: RemoteCompactionSupport::V2,
|
||||
@@ -719,7 +717,6 @@ mod tests {
|
||||
provider.capabilities(),
|
||||
ProviderCapabilities {
|
||||
reasoning_summaries: true,
|
||||
image_generation: false,
|
||||
web_search: false,
|
||||
external_web_access: false,
|
||||
remote_compaction: RemoteCompactionSupport::V2,
|
||||
|
||||
@@ -12,7 +12,6 @@ use codex_model_provider_info::RemoteCompactionSupport;
|
||||
pub struct ProviderCapabilities {
|
||||
/// Whether requests may include the Responses API `reasoning.summary` parameter.
|
||||
pub reasoning_summaries: bool,
|
||||
pub image_generation: bool,
|
||||
pub web_search: bool,
|
||||
pub external_web_access: bool,
|
||||
pub remote_compaction: RemoteCompactionSupport,
|
||||
@@ -22,7 +21,6 @@ impl Default for ProviderCapabilities {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
reasoning_summaries: true,
|
||||
image_generation: true,
|
||||
web_search: true,
|
||||
external_web_access: true,
|
||||
remote_compaction: RemoteCompactionSupport::Unsupported,
|
||||
|
||||
@@ -81,7 +81,6 @@ impl ModelProvider for GcpModelProvider {
|
||||
fn capabilities(&self) -> ProviderCapabilities {
|
||||
ProviderCapabilities {
|
||||
reasoning_summaries: false,
|
||||
image_generation: false,
|
||||
web_search: false,
|
||||
external_web_access: false,
|
||||
remote_compaction: RemoteCompactionSupport::V2,
|
||||
|
||||
@@ -141,11 +141,6 @@ pub trait ModelProvider: fmt::Debug + Send + Sync {
|
||||
DEFAULT_MEMORY_CONSOLIDATION_PREFERRED_MODEL
|
||||
}
|
||||
|
||||
/// Returns whether requests made through this provider should include attestation.
|
||||
fn supports_attestation(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
/// Returns the provider-scoped auth manager, when this provider uses one.
|
||||
///
|
||||
/// TODO(celia-oai): Make auth manager access internal to this crate so callers
|
||||
|
||||
Reference in New Issue
Block a user