mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
20 lines
564 B
Python
20 lines
564 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from openrouter.types import UnrecognizedStr
|
|
from typing import Literal, Union
|
|
|
|
|
|
DataCollection = Union[
|
|
Literal[
|
|
"deny",
|
|
"allow",
|
|
],
|
|
UnrecognizedStr,
|
|
]
|
|
r"""Data collection setting. If no available model provider meets the requirement, your request will return an error.
|
|
- allow: (default) allow providers which store user data non-transiently and may train on it
|
|
|
|
- deny: use only providers which do not collect user data.
|
|
"""
|