diff options
| author | Martin Bielik <mx.bielik@gmail.com> | 2023-10-21 18:29:55 +0200 |
|---|---|---|
| committer | Martin Bielik <mx.bielik@gmail.com> | 2023-10-21 18:29:55 +0200 |
| commit | d9e1e193b6d8a8d2eb4eb2deb64d774ab5d5079b (patch) | |
| tree | db9ff9c759ea535e8d49d6bd1f469535ae8498c3 /py/chat.py | |
| parent | dca2bcf256df92196febf9bae77206bb6e51dac1 (diff) | |
| download | vim-ai-d9e1e193b6d8a8d2eb4eb2deb64d774ab5d5079b.tar.gz | |
endpoint_url config
Diffstat (limited to '')
| -rw-r--r-- | py/chat.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ try: **openai_options } printDebug("[chat] request: {}", request) - url = urljoin(config_options['base_url'], 'v1/chat/completions') + url = config_options['endpoint_url'] response = openai_request(url, request, http_options) def map_chunk(resp): printDebug("[chat] response: {}", resp) |