Merge pull request #88 from kingfs/fix/get-model-list-param

fix: 修复GetModelConfigList函数签名
This commit is contained in:
xiaomakuaiz 2025-06-04 18:04:39 +08:00 committed by GitHub
commit 7d6e792054
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ func (c *Client) AddModelConfig(ctx context.Context, req AddModelConfigRequest)
return &resp.Data, nil
}
func (c *Client) GetModelConfigList(ctx context.Context, modelID string) ([]ModelConfig, error) {
func (c *Client) GetModelConfigList(ctx context.Context) ([]ModelConfig, error) {
httpReq, err := c.newRequest(ctx, "GET", "models", nil)
if err != nil {
return nil, err