Coder Social home page Coder Social logo

ppipada / vscode-flexigpt Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 4.0 1.58 MB

FlexiGPT plugin for VSCode. Interact with AI models as a power user

Home Page: https://pankajpipada.com/flexigpt/#/

License: MIT License

TypeScript 67.46% JavaScript 25.77% CSS 2.83% Python 1.39% HTML 2.54%
ai gpt-4 llm pair-programming stackoverflow chatgpt vscode-extension

vscode-flexigpt's People

Contributors

ppipada avatar ppipada-drv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vscode-flexigpt's Issues

Ability to Delete a Single or All Conversation(s) from the Conversation History

Is your feature request related to a problem? Please describe.
At present, users do not have the flexibility to manage their conversation histories efficiently. The inability to delete either a single conversation or all conversations from the history can lead to cluttered and unmanageable conversation spaces. This enhancement seeks to address this limitation, offering a cleaner and more organized user experience.

Describe the solution you'd like
I propose the development of a feature that allows users to selectively delete either a single conversation or clear the entire conversation history from their account. This feature should encompass the following functionalities:

Selective Deletion: Users can choose a particular conversation and delete it from their history, helping in removing any unnecessary or unwanted conversations.

Bulk Deletion: An option where users can clear their entire conversation history, beneficial for those looking to start afresh or declutter their conversation space comprehensively.

Confirmation Dialog: Before deletion, a confirmation dialog should appear, confirming the user's action and preventing accidental deletions.

Additional context
Adding this feature would significantly augment the user experience, granting greater control over the management and organization of their conversation histories. Moreover, it aligns with the best practices of data management and user privacy, ensuring users have full control over their conversation data.

Thank you!

Some OpenAI requestParams in prompt file which are 0 are failing to get picked up

Eg., the following prompt does not pick up and honor the frequencyPenalty nor the presencePenalty being 0:

module.exports = {
commands: [
{
name: "Test cmd",
template: Explain following code. code: {system.selection},
description: "Explain the code",
requestparams: {
temperature: 0.6,
maxTokens: 256,
topP: 1,
frequencyPenalty: 0, // THIS FAILS TO GET USED SINCE IT'S ZERO!
presencePenalty: 0 // --ditto--
},
}
],
}

I think the problem is in openaiapi.ts checkAndPopulateCompletionParams() in these lines (actually the presencePenalty will work since it's default value is 0.0 but it would fail if the default value where anything else; and frequencyPenalty line does fail):

 presencePenalty: (inputParams?.presencePenalty as number) || 0.0,
 frequencyPenalty: (inputParams?.frequencyPenalty as number) || 0.5,

I also think there are quite a few other uses of the TS ? operator in this function (and elsewhere) that would fail if the inputParams property is zero.

UI Problems

HEy,

it might be because FlexiGPT is a bit older now, last update a year ago. So things might have changed in vscode. But I still like the simplicity of FlexiGPT and love to use it.

Issue is that the UI of the chat input is to large and there is no way to resize it. Guess that can be simple fixed by set a max-height.

image

Thanks for eventually looking into it.

Allow for local Huggingface endpoints

Wow just found this incredible project. This looks super cool!

The only thing I am missing currently is the possibility of using local Huggingface models. Currently it looks to me, that the you can just configure the name of the model and the URL is automatically being build (e.g. prepending the huggingface url)

Would it be possible to also allow for a generic URL?

Thanks in advance and cheers!

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.