privy icon indicating copy to clipboard operation
privy copied to clipboard

Bugfix: Wrogn template is used when two different model families used for chat and autocomplete

Open ldeninski opened this issue 1 year ago • 0 comments

This PR:

  • Changes the feature argument in AiClient.getModel to be a enum (or a valid string in it)
  • Removes the default argument value to avoid future bugs
  • Adds some usefull typing utils
  • Fixes the bug in AutoCompleteProvider.provideInlineCompletionItems where AIClient.getModel is called without an argument causing it to default to the chat model thus breaking autocomplete when the model families for chat and autocomplete are different

ldeninski avatar May 14 '24 11:05 ldeninski