added credential provider to completion provider
This commit is contained in:
parent
7af77b1cf9
commit
558f54c424
5 changed files with 22 additions and 9 deletions
|
@ -155,6 +155,9 @@ impl CompletionProvider for TestCompletionProvider {
|
|||
let model: Box<dyn LanguageModel> = Box::new(FakeLanguageModel { capacity: 8190 });
|
||||
model
|
||||
}
|
||||
fn credential_provider(&self) -> Box<dyn CredentialProvider> {
|
||||
Box::new(NullCredentialProvider {})
|
||||
}
|
||||
fn complete(
|
||||
&self,
|
||||
_prompt: Box<dyn CompletionRequest>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue