Closed woorui closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Attention: Patch coverage is 45.00000%
with 55 lines
in your changes are missing coverage. Please review.
Project coverage is 58.21%. Comparing base (
b5317dc
) to head (93714e5
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
LLMProvider
into two interfaces, one for storing registered funcs and another for LLM requesting.Additionally, provide the
register.SetRegister()
method to allow modification of the default Register.md
attribute to theservice
and inject themd
using theExchangeMetadataFunc
method. The signature of theExchangeMetadataFunc
function is as follows:// DefaultExchangeMetadataFunc is the default ExchangeMetadataFunc, It returns an empty metadata. func DefaultExchangeMetadataFunc(credential string) (metadata.M, error) { return metadata.M{}, nil }