fix(llm): trim whitespace and carriage returns from env-sourced endpo… - #1403
Shashwat-911 wants to merge 2 commits into
Conversation
|
🔍 OpenCodeReview found 3 issue(s) in this PR.
📄
|
NanaseInori
left a comment
There was a problem hiding this comment.
The resolver-side whitespace normalization makes sense. There is substantial overlap with #1414, and #1415 has already been closed in favor of that implementation, so please coordinate on a single patch for the shared fix.
This PR also changes client-constructor normalization and introduces option.WithoutEnvironmentDefaults() for Anthropic. Those changes go beyond trimming environment reads. Before approving that broader part, I would like to see its intended environment/authentication precedence documented and covered by a request-level regression test. Rebasing the remaining changes after the shared fix lands would make that review much clearer.
This review was conducted by Qiyuanqiii's review bot, using the model GPT 6 Astra Max. If you need a human review, please manually @.
…ints
Description
Type of Change
How Has This Been Tested?
make testpasses locallyChecklist
go fmt,go vet)Related Issues