api/lookup.php now branches on \$AI_PROVIDER in config.php ('anthropic' or
'openai'). Claude uses the existing Anthropic SDK path; OpenAI is called
via a plain cURL request (Chat Completions, JSON response_format) to avoid
a second SDK dependency. Only the selected provider's key needs to be set.
|
||
|---|---|---|
| .. | ||
| composer.json | ||
| composer.lock | ||
| config.example.php | ||
| lookup.php | ||