Skip to content

Conversation

@xinyual
Copy link
Collaborator

@xinyual xinyual commented Sep 17, 2025

Description

Fix cohere IT. The command model is deprecated and the generation API is deprecated.

"model 'command' was removed on September 15, 2025. See https://docs.cohere.com/docs/models#command for a list of models you can use instead.
Generate API was removed on September 15 2025. Please migrate to Chat API. See https://docs.cohere.com/docs/migrating-from-cogenerate-to-cochat for details.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: xinyual <[email protected]>
Signed-off-by: xinyual <[email protected]>
@xinyual xinyual temporarily deployed to ml-commons-cicd-env September 17, 2025 03:22 — with GitHub Actions Inactive
@xinyual xinyual temporarily deployed to ml-commons-cicd-env September 17, 2025 03:22 — with GitHub Actions Inactive
@xinyual xinyual temporarily deployed to ml-commons-cicd-env September 17, 2025 03:22 — with GitHub Actions Inactive
@xinyual xinyual temporarily deployed to ml-commons-cicd-env September 17, 2025 03:22 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Sep 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.91%. Comparing base (e3baea9) to head (50aef8b).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #4174      +/-   ##
============================================
- Coverage     81.91%   81.91%   -0.01%     
  Complexity     8882     8882              
============================================
  Files           762      762              
  Lines         38200    38200              
  Branches       4267     4267              
============================================
- Hits          31291    31290       -1     
  Misses         5080     5080              
- Partials       1829     1830       +1     
Flag Coverage Δ
ml-commons 81.91% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

zane-neo
zane-neo previously approved these changes Sep 17, 2025
Signed-off-by: xinyual <[email protected]>
@xinyual xinyual merged commit b1231e0 into opensearch-project:main Sep 17, 2025
5 checks passed
brianf-aws pushed a commit to brianf-aws/ml-commons that referenced this pull request Oct 27, 2025
* fix Cohere IT

Signed-off-by: xinyual <[email protected]>

* apply spotless

Signed-off-by: xinyual <[email protected]>

* delete useless it

Signed-off-by: xinyual <[email protected]>

---------

Signed-off-by: xinyual <[email protected]>
brianf-aws pushed a commit to brianf-aws/ml-commons that referenced this pull request Oct 27, 2025
* fix Cohere IT

Signed-off-by: xinyual <[email protected]>

* apply spotless

Signed-off-by: xinyual <[email protected]>

* delete useless it

Signed-off-by: xinyual <[email protected]>

---------

Signed-off-by: xinyual <[email protected]>
Signed-off-by: Brian Flores <[email protected]>
mingshl pushed a commit that referenced this pull request Oct 27, 2025
* Increment version to 2.19.4-SNAPSHOT

Signed-off-by: opensearch-ci-bot <[email protected]>
Signed-off-by: Brian Flores <[email protected]>

* fix CVE-2025-55163, CVE-2025-48924 (#4298)

* address commons-lang3 CVE-2025-48924

Signed-off-by: Brian Flores <[email protected]>

* pin netty to 4.2.5.Final version address  CVE-2025-55163

Signed-off-by: Brian Flores <[email protected]>

* force all subProjects to use updated common-lang3 version

Signed-off-by: Brian Flores <[email protected]>

---------

Signed-off-by: Brian Flores <[email protected]>

* Move HttpClientFactory to common to expose to other components (#4175)

* Move HttpClientFactory to common to expose to other componenets

Signed-off-by: zane-neo <[email protected]>

* optimize code for better maintainability

Signed-off-by: zane-neo <[email protected]>

* Optimize code and increase UT coverage

Signed-off-by: zane-neo <[email protected]>

* Address comments

Signed-off-by: zane-neo <[email protected]>

* Use amazon aws version from opensearch core

Signed-off-by: zane-neo <[email protected]>

* address comments

Signed-off-by: zane-neo <[email protected]>

---------

Signed-off-by: zane-neo <[email protected]>
Signed-off-by: Brian Flores <[email protected]>

* use mainline versions.aws via hardcode

Signed-off-by: Brian Flores <[email protected]>

* address CVE-2025-58057

Signed-off-by: Brian Flores <[email protected]>

* fix code format

Signed-off-by: Brian Flores <[email protected]>

* empty commit to trigger CI

Signed-off-by: Brian Flores <[email protected]>

* Fix claude model it (#4167)

* fix model it by replace claude v1/v2

Signed-off-by: xinyual <[email protected]>

* remove useless change

Signed-off-by: xinyual <[email protected]>

---------

Signed-off-by: xinyual <[email protected]>
Signed-off-by: Brian Flores <[email protected]>

* Don't convert schema-defined strings to other types during validation (#3761)

Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: Brian Flores <[email protected]>

* fix Cohere IT (#4174)

* fix Cohere IT

Signed-off-by: xinyual <[email protected]>

* apply spotless

Signed-off-by: xinyual <[email protected]>

* delete useless it

Signed-off-by: xinyual <[email protected]>

---------

Signed-off-by: xinyual <[email protected]>
Signed-off-by: Brian Flores <[email protected]>

---------

Signed-off-by: opensearch-ci-bot <[email protected]>
Signed-off-by: Brian Flores <[email protected]>
Signed-off-by: zane-neo <[email protected]>
Signed-off-by: xinyual <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Co-authored-by: opensearch-ci-bot <[email protected]>
Co-authored-by: zane-neo <[email protected]>
Co-authored-by: Xinyuan Lu <[email protected]>
Co-authored-by: Daniel Widdis <[email protected]>
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.

3 participants