111
在线测试
雅思写作2
小作文 开头段 线性图 the graph/ the line chart 柱状图 the bar chart 饼图 the pie chart 动词 shows=illustrates 不用抄below 数据对象 数值和百分比都可以用 the figure for 固定搭配 数值 the number of 或者 the amount of 百分比 the proportion of 或者 the percentage of 或者 the share of 地点和时间 先地点后时间 overview overall,over/during this period,while the number of X decreased, the popularity of X increased to varying degrees ,with ultimately/largely becoming the most favored /popular / preferred choice 升降和极值 主体段
雅思阅读2
单词与短语 across 横跨 universality 普遍 group setting 指的是社会背景 recording studio 录音棚 pairs of 两人一组 consist 持续的 similar consistent stable disciplines 学科 dominant 主导的 submissive 屈从的 fraternity 社团 take a turn 轮流 mildly insulting 轻微侮辱 be rated as 被认为是 fixed amount of time 限时 做题技巧 from to是例子,例子一般不是答案 读到实验的时候,一般要看实验结论,
项目学习——skills
这一节主要是在讲skills。 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748class SkillLoader: def __init__(self, skills_dir: Path): self.skills_dir = skills_dir self.skills = {} self._load_all() def _load_all(self): if not self.skills_dir.exists(): return for f in sorted(self.skills_dir.rglob("SKILL.md")): text = f.read_text() meta, body = self._parse_frontmatter(text) ...
项目学习——subagent
在进入正式的subagent学习之前,其实有必要对messages和response做一个说明。 messages 是一个列表结构,表示传递给模型的上下文信息,每一项都包含 role(角色,如 user / assistant / system)和 content(具体内容)。例如 messages[0] 就代表用户当前输入的一句话。在调试器中看到的 0 = {...},本质上就是这个列表中的第一个元素,即你发给模型的请求内容。 而 response 则是模型返回的结果,通常是一个结构化对象而不是简单字符串。它包含了模型 ID、唯一请求 ID,以及最关键的 content 字段。不同于传统接口直接返回文本,一些模型(如 qwen3.5-plus)会以“块”的形式返回内容,比如 ThinkingBlock(思考过程)和 TextBlock(最终回答)。此外,调试器中看到的 special variables 和 function variables 并不是业务数据,它们只是 Python 对象自带的底层属性和方法(如 __class__、append 等),主...
雅思口语1
流利度是最重要的。流利度由连接词体现。 进阶连接词:because表强因果,比较正式,我们可以用simply because,mainly because,basically 表示转折:even though,still but still, having said that ,that said I reckon(I think) , I assume, I suppose for example -like,let’s say so- and that’s why 词汇多样性 very - quite,incredibly (I eat out quite often) convenient - hassle-free 省麻烦的 reloable / favorite -go-to difficult - struggle (struggle with homework) choose - go for prefer -would rahter do happy - over moon important -necessary be good at -have a real...
规划与协调-todowrite
1234567891011121314151617181920212223242526272829303132333435# -- TodoManager: structured state the LLM writes to --class TodoManager: def __init__(self): self.items = [] def update(self, items: list) -> str: if len(items) > 20: raise ValueError("Max 20 todos allowed") validated = [] in_progress_count = 0 for i, item in enumerate(items): text = str(item.get("text", "")).strip() status...
tool use
只有 bash 时, 所有操作都走 shell。cat 截断不可预测, sed 遇到特殊字符就崩, 每次 bash 调用都是不受约束的安全面。专用工具 (read_file, write_file) 可以在工具层面做路径沙箱。 123456789101112def safe_path(p: str) -> Path: path = (WORKDIR / p).resolve() if not path.is_relative_to(WORKDIR): raise ValueError(f"Path escapes workspace: {p}") return pathdef run_read(path: str, limit: int = None) -> str: text = safe_path(path).read_text() lines = text.splitlines() if limit and limit < len(lines): lin...
雅思听力直播课2
take a stroll 散步
agent loop
12345678+--------+ +-------+ +---------+| User | ---> | LLM | ---> | Tool || prompt | | | | execute |+--------+ +---+---+ +----+----+ ^ | | tool_result | +----------------+ (loop until stop_reason != "tool_use") 12345678910111213141516171819202122def agent_loop(query): messages = [{"role": "user", "content&quo...
