Skip to content

Commit 918a0d3

Browse files
authored
Merge pull request #70 from heshengtao/dev
Dev
2 parents 459ade3 + 542b139 commit 918a0d3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

py/code_interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def run_in_sandbox():
2727
"properties": {
2828
"code": {
2929
"type": "string",
30-
"description": "需要执行的代码,例如:print('Hello, World!'),不要包含markdown的代码块标记!只有输入可运行的代码字符串。工具会返回控制的输出结果,如果出错会返回错误信息,请将你需要查看的信息写在print中。",
30+
"description": "需要执行的代码,例如:print('Hello, World!'),不要包含markdown的代码块标记!只有输入可运行的代码字符串。工具只会返回stdout和stderr。请将你要查看的答案放在print()中,不要放在其他地方。",
3131
},
3232
"language": {
3333
"type": "string",

server.spec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: python ; coding: utf-8 -*-
22
import platform
3-
3+
from PyInstaller.utils.hooks import collect_submodules
44
# 全平台禁用签名配置
55
universal_disable_sign = {
66
'codesign_identity': None,
@@ -24,7 +24,8 @@ a = Analysis(
2424
hiddenimports=[
2525
'pydantic.deprecated.decorator',
2626
'tiktoken_ext',
27-
'tiktoken_ext.openai_public'
27+
'tiktoken_ext.openai_public',
28+
*collect_submodules('mem0'),
2829
],
2930
hookspath=[],
3031
hooksconfig={},

0 commit comments

Comments
 (0)