本报告重点分析 Gemini CLI 在过去一个月(2025年6月21日至7月21日)对 Agent 执行流程和性能优化方面的改进。这些优化主要集中在工具执行、历史管理、错误处理和性能提升等关键领域。
日期: 2025-07-11
作者: anj-s
# 代码规范 | |
[] 修复所有的 C901 错误 | |
[] 为主要流程添加 e2e test | |
[] 优化 e2e test 框架,可以使用声明式来定义 test | |
# 架构设计 | |
[] 检查 project_data 和 project_content 的设计 | |
[] import linter 的检查扩充到 domain 之外 |
[] 修复所有的 C901 错误 | |
[] 检查 project_data 和 project_content 的设计 |
#!/usr/bin/env python3 | |
import sqlite3 | |
import json | |
import datetime | |
from pathlib import Path | |
import sys | |
def get_chat_data_from_db(db_path) -> list[dict]: | |
"""Extract chat data from the SQLite database""" |
// ==UserScript== | |
// @name Omnivore Everything | |
// @namespace Violentmonkey Scripts | |
// @version 0.8 | |
// @description save all browsing history to Omnivore | |
// @author fankaidev | |
// @match *://*/* | |
// @exclude *://omnivore.app/* | |
// @exclude *://cubox.pro/* | |
// @exclude *://readwise.io/* |
// ==UserScript== | |
// @name Sync Twitter To Flomo | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description create a flomo note of current twitter thread, need flomo api | |
// @author fankaidev | |
// @match https://x.com/* | |
// @connect flomoapp.com | |
// @grant GM_xmlhttpRequest | |
// @license MIT |
#!/usr/bin/env python3 | |
# 需要安装一些依赖 pip3 install openai langchain chromadb pypdf sentence_transformers | |
from langchain.chat_models import ChatOpenAI | |
from langchain.embeddings.openai import OpenAIEmbeddings | |
from langchain.embeddings import HuggingFaceEmbeddings | |
from langchain.vectorstores import Chroma | |
from langchain.text_splitter import CharacterTextSplitter, RecursiveCharacterTextSplitter | |
from langchain.document_loaders import TextLoader, PyPDFLoader | |
from langchain.chains.retrieval_qa.base import RetrievalQA |
package dev.fankai; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.DependsOn; | |
import org.springframework.stereotype.Service; | |
import javax.annotation.PostConstruct; |