diff --git a/dbgpt/agent/core/profile/base.py b/dbgpt/agent/core/profile/base.py index 9d24164dc..e2eafe946 100644 --- a/dbgpt/agent/core/profile/base.py +++ b/dbgpt/agent/core/profile/base.py @@ -39,7 +39,7 @@ Given resources information: *** IMPORTANT REMINDER *** Please answer in English. -The current time is{{now_time}}. +The current time is:{{now_time}}. {% if is_retry_chat %}\ {% if retry_constraints %}\ diff --git a/dbgpt/agent/core/role.py b/dbgpt/agent/core/role.py index 5f28538dc..e7fe05567 100644 --- a/dbgpt/agent/core/role.py +++ b/dbgpt/agent/core/role.py @@ -1,6 +1,7 @@ """Role class for role-based conversation.""" from abc import ABC +from datetime import datetime from typing import Dict, List, Optional from jinja2 import Environment, Template, meta @@ -107,6 +108,7 @@ class Role(ABC, BaseModel): "retry_constraints": self.retry_constraints, "examples": self.examples, "is_retry_chat": is_retry_chat, + "now_time": datetime.now().strftime("%Y-%m-%d %H:%M:%S"), } param = role_params.copy() runtime_param_names = [] diff --git a/web_new/public/LOGO.png b/web_new/public/LOGO.png new file mode 100644 index 000000000..3983e4ade Binary files /dev/null and b/web_new/public/LOGO.png differ diff --git a/web_new/public/LOGO_1.png b/web_new/public/LOGO_1.png new file mode 100644 index 000000000..801274c3c Binary files /dev/null and b/web_new/public/LOGO_1.png differ diff --git a/web_new/public/LOGO_SMALL.png b/web_new/public/LOGO_SMALL.png new file mode 100644 index 000000000..40eeb962a Binary files /dev/null and b/web_new/public/LOGO_SMALL.png differ diff --git a/web_new/public/favicon.ico b/web_new/public/favicon.ico index 472bc799c..e3e9e2f6f 100644 Binary files a/web_new/public/favicon.ico and b/web_new/public/favicon.ico differ