Skip to content

Commit

Permalink
更新版本
Browse files Browse the repository at this point in the history
  • Loading branch information
glide-the committed Feb 10, 2025
1 parent 04513bb commit 3851633
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/dreamsboard/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dreamsboard"
version = "0.3.6"
version = "0.3.7"
description = ""
authors = ["glide-the <[email protected]>"]
readme = "README.md"
Expand Down
8 changes: 4 additions & 4 deletions test_task/glm/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
logging.config.dictConfig(logging_conf) # type: ignore

llm = ChatOpenAI(
openai_api_base=os.environ.get("API_BASE"),
model=os.environ.get("API_MODEL"),
openai_api_key=os.environ.get("API_KEY"),
openai_api_base=os.environ.get("ZHIPUAI_API_BASE"),
model=os.environ.get("ZHIPUAI_API_MODEL"),
openai_api_key=os.environ.get("ZHIPUAI_API_KEY"),
verbose=True,
temperature=0.1,
top_p=0.9,
Expand All @@ -58,7 +58,7 @@
tools= [ { "type": "web_search", "web_search": {"enable": False ,"search_result": False }}]
else:
tools = []
llm_with_tools = llm
llm_with_tools = llm.bind( tools=[_get_assistants_tool(tool) for tool in tools] )
kor_dreams_task_step_llm_with_tools = guiji_llm.bind( tools=[_get_assistants_tool(tool) for tool in tools] )


Expand Down

0 comments on commit 3851633

Please sign in to comment.