Skip to content

Commit 69f99db

Browse files
committed
chore: update openapi specs
1 parent aea08bb commit 69f99db

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/jaqpot_api_client/models/docker_config.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import re # noqa: F401
1919
import json
2020

21-
from pydantic import BaseModel, ConfigDict, Field, field_validator
21+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
2222
from typing import Any, ClassVar, Dict, List, Optional
2323
from typing_extensions import Annotated
2424
from typing import Optional, Set
@@ -30,7 +30,8 @@ class DockerConfig(BaseModel):
3030
""" # noqa: E501
3131
app_name: Annotated[str, Field(strict=True, max_length=63)] = Field(description="Unique identifier used for internal service discovery", alias="appName")
3232
docker_image: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(default=None, description="Reference to the Docker image (for admin documentation)", alias="dockerImage")
33-
__properties: ClassVar[List[str]] = ["appName", "dockerImage"]
33+
llm_model_id: Optional[StrictStr] = Field(default=None, description="The ID of the LLM model", alias="llmModelId")
34+
__properties: ClassVar[List[str]] = ["appName", "dockerImage", "llmModelId"]
3435

3536
@field_validator('app_name')
3637
def app_name_validate_regular_expression(cls, value):
@@ -91,7 +92,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
9192

9293
_obj = cls.model_validate({
9394
"appName": obj.get("appName"),
94-
"dockerImage": obj.get("dockerImage")
95+
"dockerImage": obj.get("dockerImage"),
96+
"llmModelId": obj.get("llmModelId")
9597
})
9698
return _obj
9799

src/jaqpot_api_client/models/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Model(BaseModel):
4545
name: Annotated[str, Field(min_length=3, strict=True, max_length=255)]
4646
description: Optional[Annotated[str, Field(min_length=3, strict=True, max_length=50000)]] = None
4747
type: ModelType
48-
jaqpotpy_version: StrictStr = Field(alias="jaqpotpyVersion")
48+
jaqpotpy_version: Optional[StrictStr] = Field(default=None, alias="jaqpotpyVersion")
4949
doas: Optional[Annotated[List[Doa], Field(max_length=50)]] = None
5050
libraries: Annotated[List[Library], Field(max_length=1000)]
5151
dependent_features: Annotated[List[Feature], Field(max_length=1000)] = Field(alias="dependentFeatures")

src/jaqpot_api_client/models/model_type.py

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class ModelType(str, Enum):
4343
R_TREE_REGR = 'R_TREE_REGR'
4444
DOCKER = 'DOCKER'
4545
OPENAI_LLM = 'OPENAI_LLM'
46+
CUSTOM_LLM = 'CUSTOM_LLM'
4647
QSAR_TOOLBOX_CALCULATOR = 'QSAR_TOOLBOX_CALCULATOR'
4748
QSAR_TOOLBOX_QSAR_MODEL = 'QSAR_TOOLBOX_QSAR_MODEL'
4849
QSAR_TOOLBOX_PROFILER = 'QSAR_TOOLBOX_PROFILER'

0 commit comments

Comments
 (0)