fix: raise Cursor SDK bridge timeout for daily LLM calls
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
15
tests/test_cursor_client.py
Normal file
15
tests/test_cursor_client.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
def test_cursor_timeout_seconds_default(monkeypatch):
|
||||
import daily.cursor_client as cc
|
||||
|
||||
monkeypatch.delenv("CURSOR_TIMEOUT", raising=False)
|
||||
assert cc.cursor_timeout_seconds() == 600.0
|
||||
|
||||
|
||||
def test_cursor_timeout_seconds_from_env(monkeypatch):
|
||||
import daily.cursor_client as cc
|
||||
|
||||
monkeypatch.setenv("CURSOR_TIMEOUT", "900")
|
||||
assert cc.cursor_timeout_seconds() == 900.0
|
||||
Reference in New Issue
Block a user