mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-11 13:58:58 +00:00
feat(app): new ui v1
This commit is contained in:
@@ -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 %}\
|
||||
|
@@ -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 = []
|
||||
|
BIN
web_new/public/LOGO.png
Normal file
BIN
web_new/public/LOGO.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
web_new/public/LOGO_1.png
Normal file
BIN
web_new/public/LOGO_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
BIN
web_new/public/LOGO_SMALL.png
Normal file
BIN
web_new/public/LOGO_SMALL.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 4.2 KiB |
Reference in New Issue
Block a user