Pedro
fix minor issues
88750f0
Raw
History Blame Contribute Delete
312 Bytes
from langchain_openrouter import ChatOpenRouter
def create_chat_model(
model: str,
timeout_seconds: int = 180000, # ms
max_retries: int = 0,
) -> ChatOpenRouter:
return ChatOpenRouter(
model=model,
timeout=timeout_seconds, # not working
max_retries=max_retries,
)