Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ os.environ["OTEL_EXPORTER_OTLP_HEADERS"] = f"Authorization=Basic {LANGFUSE_AUTH}
|
|
22 |
|
23 |
class AttachmentDownloadTool(Tool):
|
24 |
name = "attachment_downloader"
|
25 |
-
description = "
|
26 |
inputs = {
|
27 |
"task_id": {
|
28 |
"type": "string",
|
@@ -108,7 +108,7 @@ class BasicAgent:
|
|
108 |
def __init__(self):
|
109 |
|
110 |
self.think_model = OpenAIServerModel(
|
111 |
-
model_id="
|
112 |
api_base="https://api.siliconflow.cn/v1/",
|
113 |
api_key=os.getenv('MODEL_TOKEN'),
|
114 |
)
|
|
|
22 |
|
23 |
class AttachmentDownloadTool(Tool):
|
24 |
name = "attachment_downloader"
|
25 |
+
description = "If you need to get attachment from task, you can downloads the file associated with the given task_id. If it does not exist, return None. input: task_id。output: attachment files bytes or None"
|
26 |
inputs = {
|
27 |
"task_id": {
|
28 |
"type": "string",
|
|
|
108 |
def __init__(self):
|
109 |
|
110 |
self.think_model = OpenAIServerModel(
|
111 |
+
model_id="THUDM/GLM-4-32B-0414",
|
112 |
api_base="https://api.siliconflow.cn/v1/",
|
113 |
api_key=os.getenv('MODEL_TOKEN'),
|
114 |
)
|