fix: removed failed provider test for deprecated providers (#8801)
This commit is contained in:
@@ -108,7 +108,7 @@ jobs:
|
|||||||
node-version: '22'
|
node-version: '22'
|
||||||
|
|
||||||
- name: Install agentic providers
|
- name: Install agentic providers
|
||||||
run: npm install -g @anthropic-ai/claude-code @openai/codex @google/gemini-cli @zed-industries/claude-agent-acp @zed-industries/codex-acp
|
run: npm install -g @anthropic-ai/claude-code @zed-industries/claude-agent-acp @zed-industries/codex-acp
|
||||||
|
|
||||||
- name: Run Smoke Tests with Provider Script
|
- name: Run Smoke Tests with Provider Script
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -62,22 +62,6 @@ pub const CHATGPT_CODEX_KNOWN_MODELS: &[ChatGptCodexModelAttrs] = &[
|
|||||||
name: "gpt-5.3-codex",
|
name: "gpt-5.3-codex",
|
||||||
reasoning_levels: &["low", "medium", "high", "xhigh"],
|
reasoning_levels: &["low", "medium", "high", "xhigh"],
|
||||||
},
|
},
|
||||||
ChatGptCodexModelAttrs {
|
|
||||||
name: "gpt-5.2-codex",
|
|
||||||
reasoning_levels: &["low", "medium", "high", "xhigh"],
|
|
||||||
},
|
|
||||||
ChatGptCodexModelAttrs {
|
|
||||||
name: "gpt-5.1-codex",
|
|
||||||
reasoning_levels: &["low", "medium", "high", "xhigh"],
|
|
||||||
},
|
|
||||||
ChatGptCodexModelAttrs {
|
|
||||||
name: "gpt-5.1-codex-mini",
|
|
||||||
reasoning_levels: &["medium", "high"],
|
|
||||||
},
|
|
||||||
ChatGptCodexModelAttrs {
|
|
||||||
name: "gpt-5.1-codex-max",
|
|
||||||
reasoning_levels: &["low", "medium", "high", "xhigh"],
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const CHATGPT_CODEX_DOC_URL: &str = "https://openai.com/chatgpt";
|
const CHATGPT_CODEX_DOC_URL: &str = "https://openai.com/chatgpt";
|
||||||
|
|||||||
@@ -16,10 +16,8 @@ venice -> llama-3.3-70b
|
|||||||
litellm -> gpt-4o-mini
|
litellm -> gpt-4o-mini
|
||||||
sagemaker_tgi -> sagemaker-tgi-endpoint
|
sagemaker_tgi -> sagemaker-tgi-endpoint
|
||||||
github_copilot -> gpt-4.1
|
github_copilot -> gpt-4.1
|
||||||
chatgpt_codex -> gpt-5.1-codex
|
chatgpt_codex -> gpt-5.4
|
||||||
claude-code -> default
|
claude-code -> default
|
||||||
codex -> gpt-5.2-codex
|
|
||||||
gemini-cli -> gemini-2.5-pro
|
|
||||||
cursor-agent -> auto
|
cursor-agent -> auto
|
||||||
ollama -> qwen3
|
ollama -> qwen3
|
||||||
"
|
"
|
||||||
@@ -33,7 +31,7 @@ ALLOWED_FAILURES=(
|
|||||||
"openai:gpt-3.5-turbo"
|
"openai:gpt-3.5-turbo"
|
||||||
)
|
)
|
||||||
|
|
||||||
AGENTIC_PROVIDERS=("claude-code" "codex" "gemini-cli" "cursor-agent")
|
AGENTIC_PROVIDERS=("claude-code" "cursor-agent")
|
||||||
|
|
||||||
if [ -f .env ]; then
|
if [ -f .env ]; then
|
||||||
export $(grep -v '^#' .env | xargs)
|
export $(grep -v '^#' .env | xargs)
|
||||||
@@ -73,11 +71,9 @@ is_provider_available() {
|
|||||||
litellm) has_env LITELLM_API_KEY ;;
|
litellm) has_env LITELLM_API_KEY ;;
|
||||||
sagemaker_tgi) has_env SAGEMAKER_ENDPOINT_NAME && has_env AWS_REGION ;;
|
sagemaker_tgi) has_env SAGEMAKER_ENDPOINT_NAME && has_env AWS_REGION ;;
|
||||||
github_copilot) has_env GITHUB_COPILOT_TOKEN || has_file "$HOME/.config/goose/github_copilot_token.json" ;;
|
github_copilot) has_env GITHUB_COPILOT_TOKEN || has_file "$HOME/.config/goose/github_copilot_token.json" ;;
|
||||||
chatgpt_codex) has_env CHATGPT_CODEX_TOKEN || has_file "$HOME/.config/goose/chatgpt_codex_token.json" ;;
|
chatgpt_codex) has_env CHATGPT_CODEX_TOKEN || has_file "$HOME/.config/goose/chatgpt_codex/tokens.json" ;;
|
||||||
ollama) has_env OLLAMA_HOST || has_cmd ollama ;;
|
ollama) has_env OLLAMA_HOST || has_cmd ollama ;;
|
||||||
claude-code) has_cmd claude ;;
|
claude-code) has_cmd claude ;;
|
||||||
codex) has_cmd codex ;;
|
|
||||||
gemini-cli) has_cmd gemini ;;
|
|
||||||
cursor-agent) has_cmd cursor-agent ;;
|
cursor-agent) has_cmd cursor-agent ;;
|
||||||
*) return 0 ;;
|
*) return 0 ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user