Closed woorui closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Attention: Patch coverage is 73.90300%
with 113 lines
in your changes missing coverage. Please review.
Project coverage is 78.73%. Comparing base (
cc2e6f2
) to head (68a4399
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
The HTTP server startup creates a
CallerProvider
struct, which provides aProvide(credential string)
method that returns aCaller
.The
Caller
andprovider
work together to provide invoke and chat completion functionality.The
Caller
has aCallerSyncer
attribute, which is responsible for synchronizing pub/sub information to the req/res.Impact
The register no longer requires the Factor method, which ensures the correct execution of yomo test-prompt.
On the server-side, it is guaranteed that
llm-sfn
can only have one return, and if there are multiple returns, the first one will be used. If there is no return, the client will be notified of a timeout.Test
Provide a mock
provider
which can record the requests to OpenAI and mock the responses from OpenAI.Provide a
mockDataFlow
which is used to mock the data flow in Yomo, from the source -> handler -> reducer.