lt0136 最近的时间轴更新
lt0136

lt0136

V2EX 第 101937 号会员,加入于 2015-03-02 23:45:29 +08:00
今日活跃度排名 19634
lt0136 最近回复了
"你要是没为产品付费,你自身就是产品"
根据我的观察,claude code 会用 claude-3-5-haiku 去做两个任务:
可以通过环境变量 `ANTHROPIC_SMALL_FAST_MODEL` 指定模型,默认是 `claude-3-5-haiku`

任务 1:给任务起标题
```json
{
"model": "claude-3-5-haiku",
"stream": true,
"system": [
{
"text": "Summarize this coding conversation in under 50 characters.\nCapture the main task, key files, problems addressed, and current status.",
"type": "text",
"cache_control": {
"type": "ephemeral"
}
}
],
"messages": [
{
"role": "user",
"content": "你的输入"
],
"max_tokens": 512,
"temperature": 0
}
```

任务 2:判断是不是新 topic
```json
{
"model": "claude-3-5-haiku",
"stream": true,
"system": [
{
"text": "Analyze if this message indicates a new conversation topic. If it does, extract a 2-3 word title that captures the new topic. Format your response as a JSON object with two fields: 'isNewTopic' (boolean) and 'title' (string, or null if isNewTopic is false). Only include these fields, no other text.",
"type": "text"
}
],
"messages": [
{
"role": "user",
"content": "你的输入"
}
],
"max_tokens": 512,
"temperature": 0
}
```
一个图找任意两个节点之间的所有路径? dfs ?
283 天前
回复了 main1234 创建的主题 程序员 go build/run 非常慢,有什么排查工具么
283 天前
回复了 main1234 创建的主题 程序员 go build/run 非常慢,有什么排查工具么
https://github.com/icio/actiongraph
可以显示每个 package 的编译时间
上去才去,没吃到好吃的,菜都太辣了。
但是茶颜悦色好喝,一天三杯
@lt0136 没仔细审题,不考虑 tar 。那没事了😂
对于大量小文件的场景,我用 tar cf - $DIR | ssh $HOST "tar xf -" ,感觉速度还行。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5288 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 08:08 · PVG 16:08 · LAX 01:08 · JFK 04:08
Developed with CodeLauncher
♥ Do have faith in what you're doing.