Coder Social home page Coder Social logo

OpenAI path about aicommit2 HOT 3 CLOSED

toropanov avatar toropanov commented on September 2, 2024
OpenAI path

from aicommit2.

Comments (3)

tak-bro avatar tak-bro commented on September 2, 2024 1

@toropanov Thank you for your interest. I update OPENAI config and add OPENAI_PATH option. The fix will be available starting from version v1.7.5.
You can set OPENAI_URL, OPENAI_PATH as below.

aicommit2 config set OPENAI_URL="https://hello.com"
aicommit2 config set OPENAI_PATH="/cats/v1/conversation"

It will request to https://hello.com/cats/v1/conversation

from aicommit2.

tak-bro avatar tak-bro commented on September 2, 2024 1

@Dakai That's right. Starting with version 2.0.0, the command has changed because it supports individual options for each model.
Thank you for sharing!

from aicommit2.

Dakai avatar Dakai commented on September 2, 2024

@toropanov Thank you for your interest. I update OPENAI config and add OPENAI_PATH option. The fix will be available starting from version v1.7.5. You can set OPENAI_URL, OPENAI_PATH as below.

aicommit2 config set OPENAI_URL="https://hello.com"
aicommit2 config set OPENAI_PATH="/cats/v1/conversation"

It will request to https://hello.com/cats/v1/conversation

I tried the commands above but received error message, and I think by the current version 2.0.3, the correct commands are:

aicommit2 config set OPENAI.url="url"
aicommit2 config set OPENAI.path="path"

from aicommit2.

Related Issues (8)

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.