fix(ci): repair branch gates after the master merge

- regenerate docs/module-graph.md for the attachment packages
- pack @deepseek-ai/dsh-attachment in the packed-install e2e closure so npm
  resolves the new dsh-llm peer from the tarball set instead of the registry
- gate the pi-ai anthropic e2e profile strictly on ANTHROPIC_API_KEY: the
  DeepSeek endpoint does not serve anthropic-messages, so the DEEPSEEK_API_KEY
  fallback turned the keyless skip into a 404 across the whole suite
This commit is contained in:
creatixchu
2026-07-24 20:07:40 +08:00
parent d2ad02697e
commit 304f034c83
4 changed files with 29 additions and 11 deletions

View File

@@ -25,8 +25,10 @@ interface ProviderCase {
const openAIBaseURL = process.env.DSH_PI_AI_OPENAI_BASE_URL
const azureOpenAIKey = process.env.AZURE_OPENAI_API_KEY
const anthropicApiKey = process.env.ANTHROPIC_API_KEY ?? process.env.DEEPSEEK_API_KEY
const anthropicBaseURL = process.env.DSH_PI_AI_ANTHROPIC_BASE_URL ?? process.env.DEEPSEEK_BASE_URL
// Strictly ANTHROPIC_*: the DeepSeek endpoint does not serve the anthropic-messages
// protocol, so falling back to DEEPSEEK_API_KEY turns the keyless skip into a 404.
const anthropicApiKey = process.env.ANTHROPIC_API_KEY
const anthropicBaseURL = process.env.DSH_PI_AI_ANTHROPIC_BASE_URL
const providerCases: ProviderCase[] = [
{