Skip to content

Commit

Permalink
update modelscope_studio version and fix Windows encoding issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhahaha committed Dec 4, 2024
1 parent 94e1b75 commit 8fe8f09
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion qwen_agent/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.0.12'
__version__ = '0.0.13'
from .agent import Agent
from .multi_agent_hub import MultiAgentHub

Expand Down
2 changes: 1 addition & 1 deletion qwen_agent/gui/gradio_dep.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
try:
import gradio as gr
assert gr.__version__ >= '4.0'
assert gr.__version__ >= '5.0'
import modelscope_studio.components.base as ms # noqa
import modelscope_studio.components.legacy as mgr # noqa
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion qwen_agent/settings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import List, Literal

# Settings for LLMs
DEFAULT_MAX_INPUT_TOKENS: int = 5800 # The LLM will truncate the input messages if they exceed this limit
DEFAULT_MAX_INPUT_TOKENS: int = 28000 # The LLM will truncate the input messages if they exceed this limit

# Settings for agents
MAX_LLM_CALL_PER_RUN: int = 8
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def read_description() -> str:
'pydantic-core==2.23.4',
'gradio>=5.0.0',
'gradio-client==1.4.0',
'modelscope-studio~=1.0.0b',
'modelscope_studio==1.0.0-beta.8',
],
},
url='https://github.com/QwenLM/Qwen-Agent',
Expand Down

0 comments on commit 8fe8f09

Please sign in to comment.