feat: implement AI model API proxy service
This commit is contained in:
13
backend/app/models/provider.py
Normal file
13
backend/app/models/provider.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""Provider model."""
|
||||
from dataclasses import dataclass
|
||||
from typing import Optional
|
||||
|
||||
|
||||
@dataclass
|
||||
class Provider:
|
||||
"""Model provider configuration."""
|
||||
id: int
|
||||
name: str
|
||||
base_url: str
|
||||
api_type: str
|
||||
is_active: bool
|
||||
Reference in New Issue
Block a user