world_snapshot/wwwroot/api/snapshot_update.dspy
2026-08-29 12:44:24 +08:00

9 lines
328 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# world_snapshot snapshot_update.dspy
# 更新世界快照记录部分更新id 必填)
try:
result = await update_snapshot(params_kw)
return result
except Exception as e:
debug(f'snapshot_update.dspy error: {format_exc()}')
return {'code': 'INTERNAL_ERROR', 'message': str(e), 'field': '', 'detail': ''}