AICodeBot icon indicating copy to clipboard operation
AICodeBot copied to clipboard

Added rudimentary ollama support

Open TORlN opened this issue 2 years ago • 0 comments

  • ~~Added a switch statement in cli.py to handle different providers~~ change no longer needed
  • added ollama support in lm.py. ~~Make sure to change the aicodebot.yaml file to "ollama_local: {local llm}" instead of "openai_api_key: {api key}" and manually change CURRENT_PROVIDER = OLLAMA~~ no longer needed
  • ~~Changed get_api_key function name to get_key~~ change reverted
  • ~~added CURRENT_PROVIDER variable, initially set by DEFAULT_PROVIDER~~ change reverted
  • ~~added match statement to dynamically organize which model is being used in the future~~ no longer needed
  • fixed key error in output
  • removed hugging face support
  • updated README

TORlN avatar Oct 29 '23 19:10 TORlN