This commit is contained in:
parent
b74fa0ca34
commit
ef9c607e6b
|
|
@ -7,13 +7,14 @@ from application.pages.index import render_index
|
||||||
|
|
||||||
app = rx.App(
|
app = rx.App(
|
||||||
style={
|
style={
|
||||||
# 覆盖所有标签
|
"root": {
|
||||||
|
"font-family": "HuaweiFont,Helvetica,Arial,PingFangSC-Regular,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Microsoft JhengHei",
|
||||||
|
},
|
||||||
"*": {
|
"*": {
|
||||||
"margin": "0",
|
"margin": "0",
|
||||||
"padding": "0",
|
"padding": "0",
|
||||||
"box_sizing": "border-box",
|
"box_sizing": "border-box",
|
||||||
"background-color": "transparent",
|
"background-color": "transparent",
|
||||||
"font-family": "HuaweiFont,Helvetica,Arial,PingFangSC-Regular,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Microsoft JhengHei",
|
|
||||||
"gap": "0",
|
"gap": "0",
|
||||||
},
|
},
|
||||||
# 覆盖伪元素 ::before 和 ::after
|
# 覆盖伪元素 ::before 和 ::after
|
||||||
|
|
|
||||||
|
|
@ -38,9 +38,6 @@ class AuthState(rx.State):
|
||||||
# 验证码发送倒计时
|
# 验证码发送倒计时
|
||||||
captcha_sending_countdown: int = 0
|
captcha_sending_countdown: int = 0
|
||||||
|
|
||||||
# 验证码发送中状态
|
|
||||||
is_captcha_sending: bool = False
|
|
||||||
|
|
||||||
# 登录中状态
|
# 登录中状态
|
||||||
is_logging_in: bool = False
|
is_logging_in: bool = False
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@ instructions: str = """
|
||||||
# 行文要求
|
# 行文要求
|
||||||
语言通俗,逻辑完整简洁,无多余废话。
|
语言通俗,逻辑完整简洁,无多余废话。
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# 实例化智能体(因无法序列化故剥离出状态管理)
|
# 实例化智能体(因无法序列化故剥离出状态管理)
|
||||||
agent: Agent = Agent(
|
agent: Agent = Agent(
|
||||||
model=OpenAIChatModel(
|
model=OpenAIChatModel(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue