Get the Anthropic API key. See :func:`_resolve_pref_key_file` for resolution and rejection rules.
()
| 389 | |
| 390 | |
| 391 | def get_anthropic_api_key(): |
| 392 | """ |
| 393 | Get the Anthropic API key. See :func:`_resolve_pref_key_file` |
| 394 | for resolution and rejection rules. |
| 395 | """ |
| 396 | return _resolve_pref_key_file( |
| 397 | 'anthropic_api_key_file', config.ANTHROPIC_API_KEY_FILE |
| 398 | ) |
| 399 | |
| 400 | |
| 401 | def get_anthropic_model(): |
no test coverage detected