fleet-memory/hindsight-clients/python/hindsight_client_api/models/budget.py
Nicolò Boschi c2ac7d0440
feat: support vertex as llm provider (#233)
* 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
2026-01-29 16:13:57 -05:00

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))