Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[backend] Adding the content-type header when calling MistralAI #2064

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

Dimfacion
Copy link
Member

@Dimfacion Dimfacion commented Dec 13, 2024

Proposed changes

  • Adding the Content-Type in the headers

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@github-actions github-actions bot added the filigran team use to identify PR from the Filigran team label Dec 13, 2024
Copy link

codecov bot commented Dec 13, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 33.43%. Comparing base (363ec66) to head (6ac4e27).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
...src/main/java/io/openbas/rest/stream/ai/AiApi.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2064      +/-   ##
============================================
- Coverage     33.43%   33.43%   -0.01%     
  Complexity     1668     1668              
============================================
  Files           574      574              
  Lines         16799    16800       +1     
  Branches        992      992              
============================================
  Hits           5617     5617              
- Misses        10928    10929       +1     
  Partials        254      254              

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

@Dimfacion Dimfacion merged commit 66a9f95 into master Dec 13, 2024
7 checks passed
@SamuelHassine SamuelHassine deleted the issue/2063 branch January 6, 2025 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue when using MistralAI server
2 participants