botrun-hatch 5.6.52__tar.gz → 5.6.54__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of botrun-hatch might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: botrun-hatch
3
- Version: 5.6.52
3
+ Version: 5.6.54
4
4
  Summary:
5
5
  Author: sebastian-hsu
6
6
  Author-email: sebastian.hsu@gmail.com
@@ -13,7 +13,7 @@ class Hatch(BaseModel):
13
13
  id (str):
14
14
  model_name (str, optional): 使用的模型名稱,預設為空字串。
15
15
  agent_model_name (str, optional): Agent 使用的模型名稱,預設為空字串。
16
- prompt_template (str): 這個就是 system prompt
16
+ prompt_template (str, optional): 這個就是 system prompt,預設為空字串。
17
17
  google_doc_link (str, optional): 如果 google_doc_link 啟動,會將 google doc 的內容放在 prompt_template 裡面,預設為空字串。
18
18
  enable_google_doc_link (bool, optional): 是否啟用 Google Doc 搜尋,預設為 False。
19
19
  user_prompt_prefix (str, optional): User prompt 前綴。
@@ -32,7 +32,7 @@ class Hatch(BaseModel):
32
32
  id: str
33
33
  model_name: str = ""
34
34
  agent_model_name: str = ""
35
- prompt_template: str
35
+ prompt_template: str = ""
36
36
  google_doc_link: str = ""
37
37
  enable_google_doc_link: bool = False
38
38
  user_prompt_prefix: str = ""
@@ -0,0 +1,20 @@
1
+ from typing import Optional
2
+ from pydantic import BaseModel
3
+ from datetime import datetime
4
+
5
+
6
+ class HatchWebhook(BaseModel):
7
+ """
8
+ Hatch Webhook 資訊模型,用於追蹤 Google Drive webhook 註冊。
9
+
10
+ Args:
11
+ hatch_id (str): 關聯的 Hatch ID
12
+ channel_id (str): Google Drive 通知頻道 ID
13
+ resource_id (str): Google Drive 資源 ID
14
+ created_at (datetime, optional): 建立時間
15
+ """
16
+
17
+ hatch_id: str
18
+ channel_id: str
19
+ resource_id: str
20
+ created_at: Optional[datetime] = None
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "botrun-hatch"
3
- version = "5.6.52"
3
+ version = "5.6.54"
4
4
  description = ""
5
5
  authors = ["sebastian-hsu <sebastian.hsu@gmail.com>"]
6
6
  readme = "README.md"
File without changes