# get_search_scene_id.dspy —— 场景下拉数据源 [{value, text}] try: opts = await get_scene_options() return {'code': 'OK', 'message': 'success', 'data': opts} except Exception as e: return {'code': 'DB_ERROR', 'message': '查询场景下拉失败', 'field': '', 'detail': str(e)}