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

SpeziLLMOpenAI: Replace MacPaw/OpenAI With Generated API Calls #64

Open
wants to merge 51 commits into
base: main
Choose a base branch
from

swiftlint

42f9079
Select commit
Loading
Failed to load commit list.
Open

SpeziLLMOpenAI: Replace MacPaw/OpenAI With Generated API Calls #64

swiftlint
42f9079
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 22, 2024 in 0s

38.58% (+0.07%) compared to fd9f1ca

View this Pull Request on Codecov

38.58% (+0.07%) compared to fd9f1ca

Details

Codecov Report

Attention: Patch coverage is 54.38596% with 260 lines in your changes missing coverage. Please review.

Project coverage is 38.58%. Comparing base (fd9f1ca) to head (42f9079).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...peziLLMOpenAI/LLMOpenAISession+Configuration.swift 0.00% 80 Missing ⚠️
...ources/SpeziLLMOpenAI/LLMOpenAISession+Setup.swift 0.00% 47 Missing ⚠️
...s/SpeziLLMOpenAI/LLMOpenAISession+Generation.swift 0.00% 27 Missing ⚠️
Sources/SpeziLLMOpenAI/LLMOpenAIError.swift 0.00% 22 Missing ⚠️
...ng/LLMFunctionParameterWrapper+OptionalTypes.swift 86.56% 16 Missing ⚠️
...SpeziLLMOpenAI/Helpers/LLMOpenAIStreamResult.swift 0.00% 16 Missing ⚠️
...nCalling/LLMFunctionParameterSchemaCollector.swift 0.00% 11 Missing ⚠️
...lling/LLMFunctionParameterWrapper+ArrayTypes.swift 88.74% 8 Missing ⚠️
...tionCalling/LLMFunctionParameterWrapper+Enum.swift 85.72% 8 Missing ⚠️
...g/LLMFunctionParameterWrapper+PrimitiveTypes.swift 83.68% 8 Missing ⚠️
... and 4 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
+ Coverage   38.52%   38.58%   +0.07%     
==========================================
  Files          65       65              
  Lines        2355     2517     +162     
==========================================
+ Hits          907      971      +64     
- Misses       1448     1546      +98     
Files with missing lines Coverage Δ
...penAI/Configuration/LLMOpenAIModelParameters.swift 100.00% <100.00%> (ø)
...iLLMOpenAI/Configuration/LLMOpenAIParameters.swift 100.00% <ø> (ø)
Sources/SpeziLLMOpenAI/Helpers/Chat+OpenAI.swift 0.00% <ø> (ø)
...I/Onboarding/LLMOpenAIAPITokenOnboardingStep.swift 100.00% <ø> (ø)
...enAI/Onboarding/LLMOpenAIModelOnboardingStep.swift 97.88% <100.00%> (+0.10%) ⬆️
.../FunctionCalling/LLMFunctionParameterWrapper.swift 61.54% <50.00%> (+24.04%) ⬆️
...ling/LLMFunctionParameterWrapper+CustomTypes.swift 92.00% <91.31%> (-8.00%) ⬇️
Sources/SpeziLLMOpenAI/LLMOpenAISession.swift 22.86% <0.00%> (ø)
...urces/SpeziLLMOpenAI/LLMOpenAIAuthMiddleware.swift 0.00% <0.00%> (ø)
...lling/LLMFunctionParameterWrapper+ArrayTypes.swift 89.88% <88.74%> (-10.12%) ⬇️
... and 9 more

... and 7 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd9f1ca...42f9079. Read the comment docs.