界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

llm-providers

llm-providers

【效率与协作】Routes provider aliases and async LLM calls for giskard-llm.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: llm-providers description: "Routes provider aliases and async LLM calls for giskard-llm." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

LLM Providers

Use this sub-skill for direct giskard.llm routing, provider configuration, and async provider calls.

Read First

  • API reference for verified client, helper, type, and error surfaces.
  • Provider matrix for prefixes, extras, credentials, operations, and provider-specific caveats.
  • Workflows for alias configuration and async completion, embedding, and response calls.
  • Troubleshooting for missing SDKs, authentication, unsupported operations, bad requests, and retry decisions.
  • scripts/inspect_llm_routing.py for no-key installed-package routing inspection without live provider calls.

Use This When

  • The user is choosing or configuring a provider alias.
  • The user has a provider/model string or a bare model name.
  • The user needs async completions, embeddings, or stateful responses.
  • The user needs to know which SDK extra or auth env var is required.
  • The user needs retry guidance for provider errors.

In Scope

  • LLMClient, configure, reset, acompletion, aembedding, aresponse, and should_retry
  • Provider prefixes and alias routing, including bare-model defaulting
  • Public message, tool, choice, response, and error types
  • Provider extras, auth env vars, and transport kwargs
  • Error mapping and retry decisions

Route Elsewhere

  • Chat workflows, tools, templates, and workflow orchestration -> ../agents-workflows/SKILL.md
  • Judges, scenarios, suites, and eval checks -> ../checks-evals/SKILL.md

Quick Rule

Start with the provider matrix. Use the inspector script when you need to confirm installed SDK availability or parse model strings without calling a live provider.

我的收藏