mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
feat: using intermediate request
This commit is contained in:
parent
63821c277d
commit
f00bf0e4fc
2 changed files with 16 additions and 7 deletions
|
|
@ -185,8 +185,11 @@ If it's useful to you, **please share this project and spread the word**. Also c
|
|||
> Configuration is done via environment variables:
|
||||
>
|
||||
> - `_PR_AI_API_KEY`: Your own API key
|
||||
> - `_PR_AI_URL`: URL used. Defaults to `https://api.groq.com/openai/v1/chat/completions`
|
||||
> - `_PR_AI_MODEL`: Model used. Defaults to `llama3-8b-8192`
|
||||
> - `_PR_AI_URL`: URL used. Defaults to `https://iff.envs.net/completions.py`
|
||||
> - Any OpenAI compatible URL can be used, e.g.:
|
||||
> - `https://api.openai.com/v1/chat/completions` (Note: OpenAI's ChatGPT is very slow)
|
||||
> - `https://api.groq.com/openai/v1/chat/completions`
|
||||
> - `_PR_AI_MODEL`: Model used. Defaults to `llama3-8b-8192` for fast response
|
||||
> - `_PR_AI_DISABLE`: Setting to any value disables AI integration
|
||||
> - `_PR_AI_LOCALE`: Locale in which the AI explains the suggestion. Defaults to user system locale
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue