Coder Social home page Coder Social logo

unit-mesh / auto-dev-vscode Goto Github PK

View Code? Open in Web Editor NEW
146.0 5.0 23.0 3.87 MB

AutoDev - 🧙‍the AI-powered coding wizard . Put the most loved AutoDev AI assistant into your VSCode, and have things done quickly

Home Page: http://vscode.unitmesh.cc/

License: MIT License

TypeScript 89.15% JavaScript 0.28% Scheme 7.65% HTML 0.10% CSS 2.53% Java 0.06% Python 0.22%
ai-assistant genai vscode-extension

auto-dev-vscode's Issues

内网使用自定义部署模型

Validations

  • I'm not able to find an open issue that requests the same enhancement

Problem

在内网环境配置了自定义部署的模型,没有成功,是我的打开方式不对嘛

Solution

No response

codelens position improve

Validations

  • I'm not able to find an open issue that requests the same enhancement

Problem

CodeLens not change when code modify and position update

Solution

Dynamic update position

Cloud IDE support

Validations

  • I'm not able to find an open issue that requests the same enhancement

Problem

No response

Solution

No response

VSCode ESM module for OnnxRuntime - ReferenceError: self is not defined

2024-04-30 10:10:19.097 [error] ReferenceError: self is not defined
    at /Volumes/source/ai/auto-dev-vscode/node_modules/onnxruntime-web/dist/ort-web.min.js:6:316
    at Module.<anonymous> (/Volumes/source/ai/auto-dev-vscode/dist/transformers-DJA0Jt4V.js:14984:3)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1326:10)
    at Module.load (node:internal/modules/cjs/loader:1126:32)
    at Module._load (node:internal/modules/cjs/loader:967:12)
    at Function.c._load (node:electron/js2c/node_init:2:13672)
    at Function.h._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:175:5602)
    at Function.i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:172:29719)
    at Function.t._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:137:35279)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at /Volumes/source/ai/auto-dev-vscode/src/code-search/embedding/TransformersEmbeddingProvider.ts:15:35
    at Function.getInstance (/Volumes/source/ai/auto-dev-vscode/src/code-search/embedding/TransformersEmbeddingProvider.ts:15:29)
    at _TransformersEmbeddingProvider.embed (/Volumes/source/ai/auto-dev-vscode/src/code-search/embedding/TransformersEmbeddingProvider.ts:38:19)

Solution 1: replace with worker?

WebTreeSitter caused crash in production

2024-04-14 18:10:13.073 [info] ExtensionService#_doActivateExtension Phodal.autodev, startup: false, activationEvent: 'onLanguage:typescript'
2024-04-14 18:10:13.081 [error] Activating extension Phodal.autodev failed due to an error:
2024-04-14 18:10:13.081 [error] Error: Cannot find module 'web-tree-sitter'
Require stack:
- /Users/phodal/.vscode/extensions/phodal.autodev-0.0.1/dist/extension.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-amd.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js
	at Module._resolveFilename (node:internal/modules/cjs/loader:1084:15)
	at i._resolveFilename (node:electron/js2c/utility_init:2:13405)
	at Module._load (node:internal/modules/cjs/loader:929:27)
	at c._load (node:electron/js2c/node_init:2:13672)
	at h._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:175:5602)
	at i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:172:29719)
	at t._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:137:35279)
	at Module.require (node:internal/modules/cjs/loader:1150:19)
	at h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:647)
	at Module.<anonymous> (/Users/phodal/.vscode/extensions/phodal.autodev-0.0.1/dist/extension.js:1:773)
	at o._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1271)
	at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)
	at Module.load (node:internal/modules/cjs/loader:1126:32)
	at Module._load (node:internal/modules/cjs/loader:967:12)
	at c._load (node:electron/js2c/node_init:2:13672)
	at h._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:175:5602)
	at i._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:172:29719)
	at t._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:137:35279)
	at Module.require (node:internal/modules/cjs/loader:1150:19)
	at require (node:internal/modules/cjs/helpers:119:18)
	at Function.i [as __$__nodeRequire] (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:5:98)
	at m.xb (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:172:30898)
	at async Promise.all (index 0)

AutoDocument for TypeScript React

Comment improvement:

  • display "update comment" when comment error format with lint
  • show "generate comment" when no comment.
  • display command when has correct comment.

require CONTRIBUTING.md

Validations

  • I'm not able to find an open issue that requests the same enhancement

Problem

Need a guide how to build this project

Solution

No response

几个小bug

Before submitting your bug report

Relevant environment info

- OS: macos 12.7.5
- AutoDev VSCode: v0.3.1
- IDE: vscode 1.89.1 (Universal)

Description

  1. 无法使用中文提示词,vscode display lang已经设置了中文
  2. 修改了setting中预设的模型,右键“解释此代码”,显示“暂不支持此模型使用”,并且提示“Failed to find chat model configuration for undefined”,但是点击对话框右下角的“enter”又可以触发对话。
  3. 通过“Natural language search (Hyde Code strategy)”触发的对话,有时会显示在左边对话框,普通聊天模式出现,有时又会在终端栏的输出日志中,日志模式出现。

To reproduce

No response

Log output

No response

AutoDev Catalyser

Validations

  • I'm not able to find an open issue that requests the same enhancement

Problem

A catalysis for coding

Solution

No response

Todos

  • Code RAG
  • Code Extract
  • Symbol Search
  • Document RAG

扩展拖了在右侧显示,关闭扩展后无法重新显示

版本: 1.88.1
提交: e170252f762678dec6ca2cc69aba1570769a5d39
日期: 2024-04-10T17:43:08.196Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

以上是我的vscode环境。
1.将左侧活动栏的扩展,拖了在右侧显示。
2.点击右侧显示扩展右上角的x
3.这个时候,在代码上右键,选择任何一个选项都无法让扩展再次显示
4.重启vscode后,选择代码,右键,也仅有“解释此代码”可以让扩展显示。其他选项都不可触发显示。

indexing codebase报错

Before submitting your bug report

Relevant environment info

- OS: macos 12.7.5
- AutoDev VSCode: v0.3.1
- IDE: vscode 1.89.1 (Universal)

Description

点击indexing后等待处理,之后报错,完整最后log信息:

To reproduce

No response

Log output

2024-05-24 21:08:58.217 [info] indexing progress: 0.7551490514905149 - Indexing LICENSE
2024-05-24 21:08:58.219 [info] indexing progress: 0.7552168021680217 - Indexing LICENSE
2024-05-24 21:08:58.359 [info] Failed to embed chunkbloop stands on the shoulders of the Rust ecosystem. Our search indexes are powered by [Tantivy](https://github.com/quickwit-oss/tantivy) and [Qdrant](https://github.com/qdrant/qdrant), and our multi-platform app is built with [Tauri](https://github.com/tauri-apps/tauri).

https://github.com/BloopAI/bloop/assets/7957964/93715188-d8d5-477b-8cd1-95d9cbd368cb

## Get Started

The simplest way to get started with bloop is to [download the app](https://github.com/BloopAI/bloop/releases) and follow the onboarding steps. Checkout our [getting started guide](https://bloop.ai/understand/docs/getting-started) and our references for [conversational](https://bloop.ai/understand/docs/natural-language-queries) and [regex](https://bloop.ai/understand/docs/regex-queries) search and [Code Studio](https://bloop.ai/understand/docs/code-studio).

For instructions on how to build from source or run bloop from the command line, check out these pages:

- [Build bloop app from source](./apps/desktop/README.md)
- [Run bloop from the command line](./server/README.md)

If you encounter any index issues you can wipe the bloop cache and reindex. Instructions on how to do this on different platforms [are here](./apps/desktop/README.md).

## Building From Source

You can build bloop from source and run it with your own OpenAI API key. Clone the repo, make sure the `oss` branch is checked out, and create a file called `local_config.json` at the top-level of the repo. `local_config.json` should contain the following fields:


Error: Non-zero status code returned while running Add node. Name:'/embeddings/Add_1' Status Message: /Users/runner/work/1/s/onnxruntime/core/providers/cpu/math/element_wise_ops.h:560 void onnxruntime::BroadcastIterator::Append(ptrdiff_t, ptrdiff_t) axis == 1 || axis == largest was false. Attempting to broadcast an axis by a dimension other than 1. 512 by 521

2024-05-24 21:08:58.519 [info] indexing progress: 0.7552845528455284 - Indexing README.md
2024-05-24 21:08:58.521 [info] indexing progress: 0.7553861788617886 - Indexing README.md
2024-05-24 21:08:58.522 [info] indexing progress: 0.7554878048780488 - Indexing README.md
2024-05-24 21:08:58.525 [info] indexing progress: 1 - Indexing Complete

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.