mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-10 03:30:56 +00:00
feat(config): update default LLM model configuration
This commit is contained in:
parent
dfb402039c
commit
011cabc5f1
2 changed files with 5 additions and 4 deletions
|
|
@ -20,7 +20,8 @@ flows:
|
|||
llms:
|
||||
default:
|
||||
backend: openai
|
||||
model_name: qwen3-30b-a3b-instruct-2507
|
||||
# model_name: qwen3-30b-a3b-instruct-2507
|
||||
model_name: qwen3-next-80b-a3b-thinking
|
||||
# model_name: qwen3-30b-a3b-thinking-2507
|
||||
request_interval: 1
|
||||
# temperature: 0.0001
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@ from typing import AsyncGenerator
|
|||
|
||||
from prompt_toolkit import PromptSession
|
||||
|
||||
from reme.core.utils import execute_stream_task
|
||||
from .agent.chat import FsCli
|
||||
from .agent.fs import FsCompactor, FsContextChecker, FsSummarizer
|
||||
from .config import ReMeConfigParser
|
||||
from .core import Application
|
||||
from .core.enumeration import ChunkEnum
|
||||
from .core.schema import Message, StreamChunk
|
||||
from .core.utils import execute_stream_task
|
||||
from .tool.fs import (
|
||||
BashTool,
|
||||
EditTool,
|
||||
|
|
@ -347,14 +347,14 @@ class ReMeFs(Application):
|
|||
if in_thinking:
|
||||
print("\033[0m") # reset color after thinking
|
||||
in_thinking = False
|
||||
print(f"\033[36m -> Tool: {chunk.chunk}\033[0m")
|
||||
print(f"\033[36m -> {chunk.chunk}\033[0m")
|
||||
|
||||
elif chunk.chunk_type == ChunkEnum.TOOL_RESULT:
|
||||
tool_name = chunk.metadata.get("tool_name", "unknown")
|
||||
result = chunk.chunk
|
||||
if len(result) > tool_result_max_size:
|
||||
result = result[:tool_result_max_size] + f"... ({len(chunk.chunk)} chars total)"
|
||||
print(f"\033[36m Tool result for {tool_name}: {result.strip()}\033[0m")
|
||||
print(f"\033[36m -> Tool result for {tool_name}: {result.strip()}\033[0m")
|
||||
|
||||
elif chunk.chunk_type == ChunkEnum.ERROR:
|
||||
print(f"\n\033[91m[ERROR] {chunk.chunk}\033[0m")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue