
import requests
import json

BASE_URL = "http://localhost:7891/api"

print("Testing create session...")
r = requests.post(
    f"{BASE_URL}/court-discuss/start",
    json={
        'topic': '测试朝堂议政功能',
        'officials': ['zhongshu', 'menxia', 'shangshu']
    }
)
print("Status code:", r.status_code)
print("Response:", r.text)

