Metadata-Version: 2.5
Name: zettcode-models
Version: 0.4.7
Summary: A ZettCode plugin: an official model for each vendor API key found in the environment
Project-URL: Repository, https://github.com/Chang-LeHung/zettcode/tree/main/packages/zettcode-models
Project-URL: Issues, https://github.com/Chang-LeHung/zettcode/issues
Author: Chang-LeHung
License-Expression: MIT
License-File: LICENSE
Keywords: environment,models,plugin,providers,zettcode
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Topic :: Software Development :: User Interfaces
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: zettcode-plugin-api<0.5,>=0.4.7
Description-Content-Type: text/markdown

# zettcode-models

A ZettCode plugin that offers an **official model** for each vendor whose API key is in the environment:
OpenAI, Anthropic, DeepSeek and Z.AI.

Install it as an extra and enable it once:

```bash
pip install "zettcode[models]"
```

```toml
[plugins]
enable = ["models"]
```

With `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `DEEPSEEK_API_KEY` or `ZAI_API_KEY` set (`ZHIPUAI_API_KEY` and
`ZHIPU_API_KEY` are accepted aliases), the plugin registers that host with its current official model — `GPT-6.1 Sol`,
`Claude Opus 5.5`, `DeepSeek V4.1 Flash` or `GLM-5.3`. The model appears in `/model` with `from the openai plugin`
(or `anthropic`, `deepseek`, `zai`); its token is read from the environment and never written to `config.toml`.

The list is static and no endpoint is called at start. The plugin is off by default: a set of ambient keys should not
change a model list unless the reader asks it to.
