You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enhancement: fetchModelPricing support HTTPS_PROXY #12
Because it needs to fetch model pricing.... Alternatively, we can add support for "local pricing data file". I'm happy to draft a PR if you think it's the right way to do. Thanks!
I think it is a good idea to change the fetch url with env variable or option of command.
I think either way is fine.
Please make a PR for one of them!
Activity
ryoppippi commentedon Jun 6, 2025
What is it? Could you show us the doc on it?
iamwrm commentedon Jun 8, 2025
Hi, here's a write-up for http proxy and example in python, I'm not familiar with ts/js so I'm not sure what's the equivalence
HTTP Proxy in Corporate Environments
What is HTTP Proxy?
An HTTP proxy sits between clients and servers, forwarding requests/responses. Corporate environments use proxies for:
Environment Variables
Python Example
ryoppippi commentedon Jun 8, 2025
I think
ccusageis only use local file access. why you need proxy?iamwrm commentedon Jun 9, 2025
Because it needs to fetch model pricing.... Alternatively, we can add support for "local pricing data file". I'm happy to draft a PR if you think it's the right way to do. Thanks!
ryoppippi commentedon Jun 9, 2025
I think it is a good idea to change the fetch url with env variable or option of command.
I think either way is fine.
Please make a PR for one of them!
ryoppippi commentedon Jun 16, 2025
In case you miss it @iamwrm
#79 (comment)
iamwrm commentedon Jun 17, 2025
I just tried, the new --offline mode solves my issue. Also closing PR. Thank you!
ryoppippi commentedon Jun 17, 2025
@iamwrm Again thank you for your contribution!!
docs(adapter/all): trim multi-paragraph doc comments to load-bearing …
docs(adapter/all): trim multi-paragraph doc comments to load-bearing …
docs(adapter/all): trim multi-paragraph doc comments to load-bearing …
docs(adapter/all): trim multi-paragraph doc comments to load-bearing …
docs(adapter/all): trim multi-paragraph doc comments to load-bearing …
docs(adapter/all): trim multi-paragraph doc comments to load-bearing …