This is code for paper "In-Context Decision Transformer: Reinforcement Learning via Hierarchical Chain-of-Thought"