* feat: support vertex as llm provider * fix * fix: add uv index-strategy to resolve dependency conflicts with pytorch index When using pytorch index for faster torch downloads in CI, filelock dependency resolution was failing because pytorch index only has older versions. Adding unsafe-best-match strategy allows uv to search all configured indexes. Also fix type checking warnings from ty. * fix: add index-strategy to root pyproject.toml for workspace-level uv resolution * chore: regenerate client SDKs after Vertex AI support
38 lines
702 B
Python
38 lines
702 B
Python
# coding: utf-8
|
|
|
|
"""
|
|
Hindsight HTTP API
|
|
|
|
HTTP API for Hindsight
|
|
|
|
The version of the OpenAPI document: 0.4.2
|
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
|
|
Do not edit the class manually.
|
|
""" # noqa: E501
|
|
|
|
|
|
from __future__ import annotations
|
|
import json
|
|
from enum import Enum
|
|
from typing_extensions import Self
|
|
|
|
|
|
class Budget(str, Enum):
|
|
"""
|
|
Budget levels for recall/reflect operations.
|
|
"""
|
|
|
|
"""
|
|
allowed enum values
|
|
"""
|
|
LOW = 'low'
|
|
MID = 'mid'
|
|
HIGH = 'high'
|
|
|
|
@classmethod
|
|
def from_json(cls, json_str: str) -> Self:
|
|
"""Create an instance of Budget from a JSON string"""
|
|
return cls(json.loads(json_str))
|
|
|
|
|