Skip to content

Commit db8a22b

Browse files
authored
Merge pull request #546 from freedomsky11/feat/proxy-support
feat: add universal proxy support and fix Gemini model resolution (#536)
2 parents f51393e + e27007b commit db8a22b

File tree

16 files changed

+123
-158893
lines changed

16 files changed

+123
-158893
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
2+
out/
23
coverage/
34
temp/
45
build/

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,16 @@ oco config set OCO_AI_PROVIDER=flowise OCO_API_KEY=<your_flowise_api_key> OCO_AP
237237
oco config set OCO_AI_PROVIDER=ollama OCO_API_KEY=<your_ollama_api_key> OCO_API_URL=<your_ollama_endpoint>
238238
```
239239

240+
### Use with Proxy
241+
242+
If you are behind a proxy, you can set it in the config:
243+
244+
```sh
245+
oco config set OCO_PROXY=http://127.0.0.1:7890
246+
```
247+
248+
Or it will automatically use `HTTPS_PROXY` or `HTTP_PROXY` environment variables.
249+
240250
### Locale configuration
241251

242252
To globally specify the language used to generate commit messages:

out/cli.cjs

Lines changed: 0 additions & 69702 deletions
This file was deleted.

0 commit comments

Comments
 (0)