proxy ai 增加 sequential-thinking

ProxyAI:人工智能驱动的智能编程助手

ProxyAI 是一款前沿的人工智能代码助手,专为提升开发效率而设计。它能协助完成多种编程任务,包括但不限于:

  • 代码自动补全
  • 错误检测与修复
  • 智能代码重构
  • 文档自动生成

作为 CursorWindsurfGitHub Copilot 及各类 JetBrains 插件 的强大替代方案,ProxyAI 提供了更优的本地化处理能力和定制化服务。


Sequential-Thinking 思维链MCP

核心功能亮点:

plaintext 复制代码
1. 复杂问题分解 → 将难题拆解为可执行的子任务
2. 思考过程追踪 → 可视化呈现问题解决路径
3. 智能总结生成 → 自动提炼关键结论与解决方案

由于ProxyAI插件不支持mcp,现在通过中间层来实现

测试:写一个快速排序

typescript 复制代码
public class Test {
    public static void main(String[] args) {
        //int[] arr = {64, 34, 25, 12, 22, 11, 90}; 快速排序从小到大,最后打印
    }
}

最终代码

ini 复制代码
public class Test {
    public static void main(String[] args) {
        //int[] arr = {64, 34, 25, 12, 22, 11, 90}; 快速排序从小到大,最后打印
        // graph TD
        //     A[开始] --> B[定义数组]
        //     B --> C[调用快速排序函数]
        //     C --> D[打印排序后的数组]
        //     D --> E[结束]
        // graph TD
        //     A[快速排序函数开始] --> B{left < right?}
        //     B -->|否| C[返回]
        //     B -->|是| D[选择基准pivot]
        //     D --> E[分区操作]
        //     E --> F[递归调用左半部分]
        //     F --> G[递归调用右半部分]
        //     G --> H[返回]
        // --- Modification Start ---
        int[] arr = {64, 34, 25, 12, 22, 11, 90};
        quickSort(arr, 0, arr.length - 1);
        for (int num : arr) {
            System.out.print(num + " ");
        }
        System.out.println();
    }

    public static void quickSort(int[] arr, int left, int right) {
        if (left < right) {
            int pivotIndex = partition(arr, left, right);
            quickSort(arr, left, pivotIndex - 1);
            quickSort(arr, pivotIndex + 1, right);
        }
    }

    private static int partition(int[] arr, int left, int right) {
        int pivot = arr[right];
        int i = left - 1;
        for (int j = left; j < right; j++) {
            if (arr[j] < pivot) {
                i++;
                int temp = arr[i];
                arr[i] = arr[j];
                arr[j] = temp;
            }
        }
        int temp = arr[i + 1];
        arr[i + 1] = arr[right];
        arr[right] = temp;
        return i + 1;
    }
    // --- Modification End ---
}

输出:

相关推荐
卜锦元15 小时前
Golang项目开发过程中好用的包整理归纳(附带不同包仓库地址)
开发语言·后端·golang
Tony Bai19 小时前
“我曾想付钱给 Google 去工作”—— Russ Cox 深度访谈:Go 的诞生、演进与未来
开发语言·后端·golang
serendipity_hky20 小时前
【SpringCloud | 第2篇】OpenFeign远程调用
java·后端·spring·spring cloud·openfeign
嘟嘟MD21 小时前
程序员副业 | 2025年11月复盘
后端·创业
SadSunset21 小时前
(15)抽象工厂模式(了解)
java·笔记·后端·spring·抽象工厂模式
汝生淮南吾在北21 小时前
SpringBoot+Vue养老院管理系统
vue.js·spring boot·后端·毕业设计·毕设
李慕婉学姐21 小时前
【开题答辩过程】以《基于springboot的地铁综合服务管理系统的设计与实现》为例,不知道这个选题怎么做的,不知道这个选题怎么开题答辩的可以进来看看
java·spring boot·后端
期待のcode21 小时前
Springboot配置属性绑定
java·spring boot·后端
海上彼尚21 小时前
Go之路 - 6.go的指针
开发语言·后端·golang
LYFlied1 天前
在AI时代,前端开发者如何构建全栈开发视野与核心竞争力
前端·人工智能·后端·ai·全栈