fix(ai): 统一模型传输与页面配置,公式列设计不再绕过组织设置
This commit is contained in:
@@ -45,7 +45,7 @@ def test_design_column_requires_alternating_messages_and_completed_response(work
|
||||
"json": lambda self: {"status": "in_progress", "output": []},
|
||||
},
|
||||
)()
|
||||
with patch("finance.formula_views.httpx.Client") as client:
|
||||
with patch("finance.ai.httpx.Client") as client:
|
||||
client.return_value.__enter__.return_value.post.return_value = response
|
||||
with pytest.raises(APIError, match="未创建工作簿"):
|
||||
design_column([{"role": "user", "content": "新增列"}], ds, ctx)
|
||||
|
||||
Reference in New Issue
Block a user