Skip to content

Conversation

@quaff
Copy link
Contributor

@quaff quaff commented Oct 28, 2025

No description provided.

Signed-off-by: Yanming Zhou <[email protected]>
/**
* Create a new ZhiPuAI Image api with base URL set to
* {@code https://api.ZhiPuAI.com}.
* {@code https://open.bigmodel.cn/api/paas}.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like we can't access either of these two URL's. how about removing it altogether?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the value of ZhiPuApiConstants.DEFAULT_BASE_URL.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the current URL is no longer valid, shouldn't the default constant value be changed as well then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's accessible from my country.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's accessible from my country.

I understand that. What I meant is, if the URL "https://api.ZhiPuAI.com" is no longer valid, then shouldn't the URL "https://open.bigmodel.cn/api/paas" be set as the default as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess https://api.zhipuai.com/ is wrong at the beginning.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quaff I misunderstood the changes. I overlooked the ZhiPuApiConstants.DEFAULT_BASE_URL value as I thought it had "https://api.ZhiPuAI.com" at the first place. Sorry about that. Merging.

@ilayaperumalg
Copy link
Member

@quaff Thanks for the PR! @mxsl-gr Could you review this please? Thanks!

@ilayaperumalg ilayaperumalg self-assigned this Nov 4, 2025
@ilayaperumalg ilayaperumalg added the documentation Improvements or additions to documentation label Nov 4, 2025
@ilayaperumalg ilayaperumalg added this to the 1.1.0.RC1 milestone Nov 4, 2025
@ilayaperumalg
Copy link
Member

Rebased and merged as cb6afde

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants