jinysun commited on
Commit
6c564a4
·
verified ·
1 Parent(s): f952c68

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -3
agent.py CHANGED
@@ -44,7 +44,7 @@ max_tokens = 5000,
44
 
45
  timeout=1000,
46
 
47
- callbacks=[StreamingStdOutCallbackHandler()],
48
  openai_api_key=api_key,base_url = os.getenv("OPENAI_API_BASE")
49
  )
50
  else:
@@ -52,8 +52,7 @@ max_tokens = 5000,
52
  temperature = 0.1,
53
 
54
  timeout=1000,
55
-
56
- callbacks=[StreamingStdOutCallbackHandler()],
57
  openai_api_key=api_key
58
  )
59
 
 
44
 
45
  timeout=1000,
46
 
47
+
48
  openai_api_key=api_key,base_url = os.getenv("OPENAI_API_BASE")
49
  )
50
  else:
 
52
  temperature = 0.1,
53
 
54
  timeout=1000,
55
+
 
56
  openai_api_key=api_key
57
  )
58