This commit is contained in:
liubiren 2026-07-19 16:03:29 +08:00
parent b74fa0ca34
commit ef9c607e6b
3 changed files with 4 additions and 5 deletions

View File

@ -7,13 +7,14 @@ from application.pages.index import render_index
app = rx.App(
style={
# 覆盖所有标签
"root": {
"font-family": "HuaweiFont,Helvetica,Arial,PingFangSC-Regular,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Microsoft JhengHei",
},
"*": {
"margin": "0",
"padding": "0",
"box_sizing": "border-box",
"background-color": "transparent",
"font-family": "HuaweiFont,Helvetica,Arial,PingFangSC-Regular,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Microsoft JhengHei",
"gap": "0",
},
# 覆盖伪元素 ::before 和 ::after

View File

@ -38,9 +38,6 @@ class AuthState(rx.State):
# 验证码发送倒计时
captcha_sending_countdown: int = 0
# 验证码发送中状态
is_captcha_sending: bool = False
# 登录中状态
is_logging_in: bool = False

View File

@ -44,6 +44,7 @@ instructions: str = """
# 行文要求
语言通俗逻辑完整简洁无多余废话
"""
# 实例化智能体(因无法序列化故剥离出状态管理)
agent: Agent = Agent(
model=OpenAIChatModel(