feat(app): new ui v1

This commit is contained in:
yhjun1026
2024-08-12 11:51:29 +08:00
parent 2bc7e747d4
commit a3924d5260
6 changed files with 3 additions and 1 deletions

View File

@@ -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 %}\

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
web_new/public/LOGO_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

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