mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
fix: api_key capturing + pytest errors
This commit is contained in:
@@ -5,7 +5,7 @@ import requests
|
||||
|
||||
class DocsGPTAPILLM(BaseLLM):
|
||||
|
||||
def __init__(self, api_key, *args, **kwargs):
|
||||
def __init__(self, api_key=None, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.api_key = api_key
|
||||
self.endpoint = "https://llm.docsgpt.co.uk"
|
||||
|
||||
Reference in New Issue
Block a user