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 52 commits into
base: main
Choose a base branch
from

Merge branch 'main' into generate-api-calls

11d0d12
Select commit
Loading
Failed to load commit list.
Open

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

Merge branch 'main' into generate-api-calls
11d0d12
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 19, 2025 in 0s

38.58% (+0.02%) compared to 26b1e07

View this Pull Request on Codecov

38.58% (+0.02%) compared to 26b1e07

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 (26b1e07) to head (11d0d12).

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.57%   38.58%   +0.02%     
==========================================
  Files          64       65       +1     
  Lines        2331     2517     +186     
==========================================
+ Hits          899      971      +72     
- Misses       1432     1546     +114     
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

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 26b1e07...11d0d12. Read the comment docs.