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

microsoft / teams-ai / 7465867365 / 2 – dotnet
80%
main: 80%

Build:
DEFAULT BRANCH: main
Ran 09 Jan 2024 07:24PM UTC
Files 138
Run time 6s
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: 68.595%. Remained the same
dotnet – 7465867365.2

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

1174 of 2018 branches covered (0.0%)

Branch coverage included in aggregate %.

3487 of 4777 relevant lines covered (73.0%)

23.96 hits per line

Source Files on job dotnet - 7465867365.2
  • Tree
  • List 138
  • Changed 1
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 7465867365
  • 5372e097 on github
  • Prev Job for on main (#7454505409.2)
  • Next Job for on main (#7465870872.1)
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

© 2026 Coveralls, Inc