返回 AI 资讯
社区讨论LinuxDo 最新

KIMI CLI 老二次元古法手搓

github.com/MoonshotAI/kimi-cli src/kimi cli/soul/denwarenji.py main from future import annotations from pydantic import BaseModel, Field class DMail(BaseModel): message: str = Field(description="The message to send.") checkpoint id: int = Field(description="T…

内容摘要

作者:#Skahf 板块:#搞七捻三 github.com/MoonshotAI/kimi-cli src/kimi_cli/soul/denwarenji.py main from __future__ import annotations from pydantic import BaseModel, Field class DMail(BaseModel): message: str = Field(description="The message to send.") checkpoint_id: int = Field(description="The checkpoint to send the message back to.", ge=0) # TODO: allow restoring filesystem state to the checkpoint class DenwaRenjiError(Exception): pass class DenwaRenji: def __init__(self): self._pending_dmail: DMail | None = None self._n_checkpoints: int = 0 此文件已被截断。 显示原始文件

资讯来源

LinuxDo

原文链接

打开原文
KIMI CLI 老二次元古法手搓 · AI 资讯 · AIGOOD - AIGOOD