runnable-hub/python/runnable_workers/chainWorker/response.py (6 lines of code) (raw):
from runnable_hub import RunnableResponse
from typing import Dict, Optional, List
class ChainResponse(RunnableResponse):
runnableCode: str = "CHAIN"
finalAnswer: str
history: List[Dict] = []