Ollama Cloud and other hosted endpoints reject unauthenticated requests, so the classifier and its test harness could not reach them. Send a Bearer token when OLLAMA_API_KEY is set, letting the same code work against both the local instance and hosted services without changing behavior for keyless setups. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| checker.py | ||
| classifier.py | ||
| comparator.py | ||
| extractor.py | ||
| fetcher.py | ||
| loader.py | ||
| models.py | ||
| notifier.py | ||
| updater.py | ||