mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
fix: allow unlisted models for CLI providers (#7090)
Signed-off-by: rabi <ramishra@redhat.com>
This commit is contained in:
@@ -865,6 +865,7 @@ impl ProviderDef for ChatGptCodexProvider {
|
||||
None,
|
||||
)],
|
||||
)
|
||||
.with_unlisted_models()
|
||||
}
|
||||
|
||||
fn from_env(model: ModelConfig) -> BoxFuture<'static, Result<Self::Provider>> {
|
||||
|
||||
@@ -475,6 +475,7 @@ impl ProviderDef for ClaudeCodeProvider {
|
||||
CLAUDE_CODE_DOC_URL,
|
||||
vec![ConfigKey::from_value_type::<ClaudeCodeCommand>(true, false)],
|
||||
)
|
||||
.with_unlisted_models()
|
||||
}
|
||||
|
||||
fn from_env(model: ModelConfig) -> BoxFuture<'static, Result<Self::Provider>> {
|
||||
|
||||
@@ -596,6 +596,7 @@ impl ProviderDef for CodexProvider {
|
||||
ConfigKey::from_value_type::<CodexSkipGitCheck>(false, false),
|
||||
],
|
||||
)
|
||||
.with_unlisted_models()
|
||||
}
|
||||
|
||||
fn from_env(model: ModelConfig) -> BoxFuture<'static, Result<Self::Provider>> {
|
||||
|
||||
@@ -337,6 +337,7 @@ impl ProviderDef for CursorAgentProvider {
|
||||
true, false,
|
||||
)],
|
||||
)
|
||||
.with_unlisted_models()
|
||||
}
|
||||
|
||||
fn from_env(model: ModelConfig) -> BoxFuture<'static, Result<Self::Provider>> {
|
||||
|
||||
@@ -249,6 +249,7 @@ impl ProviderDef for GeminiCliProvider {
|
||||
GEMINI_CLI_DOC_URL,
|
||||
vec![ConfigKey::from_value_type::<GeminiCliCommand>(true, false)],
|
||||
)
|
||||
.with_unlisted_models()
|
||||
}
|
||||
|
||||
fn from_env(model: ModelConfig) -> BoxFuture<'static, Result<Self::Provider>> {
|
||||
|
||||
Reference in New Issue
Block a user