mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-06 03:42:11 +02:00
Reduce request/response timeouts because looks like there are major issues
This commit is contained in:
parent
83d68d5fe6
commit
387be1bbb4
3 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ class EmbeddingsClient:
|
|||
schema=JsonSchema(EmbeddingsResponse),
|
||||
)
|
||||
|
||||
def request(self, text, timeout=500):
|
||||
def request(self, text, timeout=10):
|
||||
|
||||
id = str(uuid.uuid4())
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class LlmClient:
|
|||
schema=JsonSchema(TextCompletionResponse),
|
||||
)
|
||||
|
||||
def request(self, prompt, timeout=500):
|
||||
def request(self, prompt, timeout=30):
|
||||
|
||||
id = str(uuid.uuid4())
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class PromptClient:
|
|||
schema=JsonSchema(PromptResponse),
|
||||
)
|
||||
|
||||
def request_definitions(self, chunk, timeout=500):
|
||||
def request_definitions(self, chunk, timeout=30):
|
||||
|
||||
id = str(uuid.uuid4())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue