chore: remove obsolete payment architecture and integration test documentation

- Remove AITBC_PAYMENT_ARCHITECTURE.md (dual-currency system documentation)
- Remove IMPLEMENTATION_COMPLETE_SUMMARY.md (integration test completion summary)
- Remove INTEGRATION_TEST_FIXES.md (test fixes documentation)
- Remove INTEGRATION_TEST_UPDATES.md (real features implementation notes)
- Remove PAYMENT_INTEGRATION_COMPLETE.md (wallet-coordinator integration docs)
- Remove WALLET_COORDINATOR_INTEGRATION.md (payment
This commit is contained in:
oib
2026-01-29 12:28:43 +01:00
parent 5c99c92ffb
commit ff4554b9dd
94 changed files with 7925 additions and 128 deletions

View File

@@ -56,6 +56,8 @@ from ..domain import (
MarketplaceBid,
User,
Wallet,
JobPayment,
PaymentEscrow,
)
# Service-specific models
@@ -101,4 +103,6 @@ __all__ = [
"LLMRequest",
"FFmpegRequest",
"BlenderRequest",
"JobPayment",
"PaymentEscrow",
]

View File

@@ -4,7 +4,7 @@ Service schemas for common GPU workloads
from typing import Any, Dict, List, Optional, Union
from enum import Enum
from pydantic import BaseModel, Field, validator
from pydantic import BaseModel, Field, field_validator
import re
@@ -123,7 +123,8 @@ class StableDiffusionRequest(BaseModel):
lora: Optional[str] = Field(None, description="LoRA model to use")
lora_scale: float = Field(1.0, ge=0.0, le=2.0, description="LoRA strength")
@validator('seed')
@field_validator('seed')
@classmethod
def validate_seed(cls, v):
if v is not None and isinstance(v, list):
if len(v) > 4:
@@ -289,9 +290,10 @@ class BlenderRequest(BaseModel):
transparent: bool = Field(False, description="Transparent background")
custom_args: Optional[List[str]] = Field(None, description="Custom Blender arguments")
@validator('frame_end')
def validate_frame_range(cls, v, values):
if 'frame_start' in values and v < values['frame_start']:
@field_validator('frame_end')
@classmethod
def validate_frame_range(cls, v, info):
if info and info.data and 'frame_start' in info.data and v < info.data['frame_start']:
raise ValueError("frame_end must be >= frame_start")
return v