kuzumab commited on
Commit
8923a3c
·
verified ·
1 Parent(s): 0649f54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = "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,7 +108,7 @@ class BasicAgent:
108
  def __init__(self):
109
 
110
  self.think_model = OpenAIServerModel(
111
- model_id="deepseek-ai/DeepSeek-R1-Distill-Qwen-32B",
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
  )