Skip to content

Commit

Permalink
Новый способ получения изображений
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikelarg committed Jul 2, 2024
1 parent 0ad0e5a commit 0f939b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gigachat"
version = "0.1.30"
version = "0.1.31"
description = "GigaChat. Python-library for GigaChain and LangChain"
authors = ["Konstantin Krestnikov <[email protected]>", "Sergey Malyshev <[email protected]>"]
license = "MIT"
Expand Down
4 changes: 3 additions & 1 deletion src/gigachat/models/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class Messages(BaseModel):
attachments: Optional[List[str]] = None
"""Идентификаторы предзагруженных ранее файлов """
data_for_context: Optional[List["Messages"]] = None
"""Данные для контекста"""
"""DEPRECATED: Данные для контекста"""
functions_state_id: Optional[str] = None
"""ID сообщений функций генерирующий изображения/видео"""
id_: Optional[Any] = Field(alias="id", default=None)

class Config:
Expand Down

0 comments on commit 0f939b2

Please sign in to comment.