• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microsoft / teams-ai / 7465867365
80%

Build:
DEFAULT BRANCH: main
Ran 09 Jan 2024 07:21PM UTC
Jobs 2
Files 205
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jan 2024 07:20PM UTC coverage: 65.874% (+1.0%) from 64.838%
7465867365

push

github

web-flow
[JS] feat: Removed Deprecated Completions Logic, Added OpenAIClient and AzureOpenAIClient Unit Tests, Updated Response/Request Parameters (#1138)

## Linked issues

closes: #1136, #54 

## Details

- Updated `createEmbeddings` with missing `model` parameter 
- Added unit tests for `OpenAIClient` and `AzureOpenAIClient`
- Fixed model bug (Previously was appending an empty string to the URL
if it wasn't specified)
- Added missing header `Ocp-Apim-Subscription-Key` to enable calls to
Azure Content Safety
- Removed deprecated `Completions` logic - [More info
here](https://platform.openai.com/docs/api-reference/completions)
- Updated request/response parameters (optional, new fields, and
deprecated fields)
- Created a [ticket ](https://github.com/microsoft/teams-ai/issues/1137)
for updating moderation parameters and do a general cleanup of the
`types` file. I didn't make these changes in this PR since it'll require
logic changes as well (incl in C#), and there's quite a number of fixes
here already.

## Attestation Checklist

- [x] My code follows the style guidelines of this project

- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (we use
[TypeDoc](https://typedoc.org/) to document our code)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
  - Local testing
  - E2E testing in Teams
- New and existing unit tests pass locally with my changes

2146 of 3720 branches covered (0.0%)

Branch coverage included in aggregate %.

5276 of 7547 relevant lines covered (69.91%)

21.75 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 javascript 7465867365.1 09 Jan 2024 07:21PM UTC 67
61.74
GitHub Action Run
2 dotnet 7465867365.2 09 Jan 2024 07:24PM UTC 138
68.59
GitHub Action Run
Source Files on build 7465867365
  • Tree
  • List 205
  • Changed 7
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7465867365
  • 5372e097 on github
  • Prev Build on main (#7454505409)
  • Next Build on main (#7465870872)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc