[tools] Solveit

添加alias .bashrc是空的,直接添加即可 vim /.bashrc alias prep='nbdev clean && nbdev export' alias gr="git reset @{u}" source /.bashrc pin pin可以让shared notebook不显示该cell,但是在nbdev git push里还是会显示。

添加alias

.bashrc是空的,直接添加即可

vim ~/.bashrc
alias prep='nbdev_clean && nbdev_export'
alias gr="git reset @{u}"
source ~/.bashrc

pin

pin可以让shared notebook不显示该cell,但是在nbdev git push里还是会显示。

显示latex

在secrete里添加USE_KATEX, 值设置为dollar,即可。

如果已经有打开的notebook,需要先shutdown而不是restart

secret

每次添加一个新的secret之后,需要刷新一下terminal 网页,才能load进去

prompt

一切用thinking模式,否则不准

check imports

Check imports: identify unused packages and any missing dependencies

overview

Based on the annotations and your understanding of the functions in the above code, create an overview documentation for them. 
1. Explain what the function does
2. Show a code example using fastcore/fastai style with:
   - All arguments as keyword arguments (key=value)
   - Comments after each comma explaining what each parameter is
   - The comment format: parameter_name=value,  # explanation

Group related functions together under **section headings**

看见variables里的内容

$`variable`

放到prompt里

可使用的function(调用agent)

&`function_name` 

toolslm

看到整个repo

from toolslm.xml import folder2ctx

# Pass the cloned repo directory to AI context
context = folder2ctx('repo_name', file_glob='*.py')
print(context)

就会展示所有的在那个repo_name文件夹下的.py文件(glob)的context (XML 格式)

之所以用xml格式<tag>content</tag>,是因为claude喜欢这种input。

如果是gpt,就用md或者json