Skip to content

Default proxy mode from AICHAT_PROXY env#55

Merged
raghubetina merged 1 commit intomainfrom
rb-add-proxy-env-var
Mar 2, 2026
Merged

Default proxy mode from AICHAT_PROXY env#55
raghubetina merged 1 commit intomainfrom
rb-add-proxy-env-var

Conversation

@raghubetina
Copy link
Contributor

Enable proxy by default when AICHAT_PROXY is exactly "true".

This applies to both AI::Chat.new and AI::Chat.generate_schema!
when proxy: is omitted. Explicit settings still take precedence:
chat.proxy= and generate_schema!(proxy: ...) override env defaults.

Add unit tests for env parsing, constructor client wiring, and
generate_schema! precedence behavior. Add README docs for env
usage and precedence semantics.

Bump version to 0.5.6 and add changelog entry for the release.

Enable proxy by default when AICHAT_PROXY is exactly "true".

This applies to both AI::Chat.new and AI::Chat.generate_schema!

when proxy: is omitted. Explicit settings still take precedence:

chat.proxy= and generate_schema!(proxy: ...) override env defaults.

Add unit tests for env parsing, constructor client wiring, and

generate_schema! precedence behavior. Add README docs for env

usage and precedence semantics.

Bump version to 0.5.6 and add changelog entry for the release.
@raghubetina raghubetina merged commit 7c370d4 into main Mar 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant