Comments (4)
Are you installing from pypi or GitHub? You need to install the latest from github to pick up the --openai-api-base feature. I haven't cut a new release to pypi that includes it.
$ pip install git+https://github.com/paul-gauthier/aider.git
$ aider --help | grep -i base -C1
[--no-dirty-commits] [--openai-api-key OPENAI_API_KEY]
[--openai-api-base OPENAI_API_BASE] [--dry-run] [--show-diffs]
[--map-tokens MAP_TOKENS] [--yes] [-v]
--
Specify the OpenAI API key [env var: OPENAI_API_KEY]
--openai-api-base OPENAI_API_BASE
Specify the OpenAI API base endpoint (default:
https://api.openai.com/v1) [env var:
AIDER_OPENAI_API_BASE]
--dry-run Perform a dry run without applying changes (default:
from aider.
Okey, so I tried it.
But it seems that I cannot get it to run.
I tried storing these in the config:
openai-api-key: "MYKEYHERE"
openai-api-base: "http://localhost:9090/v1/chat/completions"
(The readme of the other app tells me I have to it in this way) - hope there is a way to get it to this
from aider.
Don't include /chat/completions
in the API base. So your config file should have this entry:
openai-api-base: "http://localhost:9090/v1"
from aider.
Closing this for now. Please feel free to re-open if the above didn't help with your issue.
from aider.
Related Issues (20)
- Aider just does random changes and commits them HOT 2
- 'NoneType' object has no attribute 'splitlines' HOT 1
- BUG: Error "edit does not conform to the edit format" stucks Aider in a loop, cannot continue
- Streamlit wants my email address HOT 1
- Highlighting breaks for unclear reasons HOT 1
- Feature: Proxy Support for aider HOT 1
- Claude 3.5 Sonnet response parsing crashed in the middle of a response HOT 1
- Feature: Add web-scraping instead of using LLMs API only HOT 2
- Citation for the Unified Diff Page HOT 5
- [Q] Do you know any good opensource voice clients for AI chat? HOT 2
- Following dead symlinks can crash Aider HOT 3
- [Bug]: Repo-map: disabled for ollama models HOT 2
- NixPackages Support HOT 1
- tree-sitter-languages package nix errors HOT 1
- Exploring GPT-4o, Building AI-Enabled Products with AI-Assisted Coding HOT 1
- Instead of SEARCH/REPLACE, just output the new file HOT 1
- Error on OpenAI API Compatible End Point HOT 2
- Run Docker Image freeze HOT 3
- Question: Can you add the costs of each LLM to the benchmark scores?
- NotImplementedError: Error I got using the the web version. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aider.