Commit Graph

8 Commits

Author SHA1 Message Date
Simon Larsen
86e5a33bd9
refactor: Update import statements for CommonUI to use Common/UI 2024-08-07 16:14:31 -06:00
Simon Larsen
ea3c357be1
refactor: Remove unused "Model" dependency from package.json files 2024-08-05 14:58:52 -06:00
Simon Larsen
8ef66650fb
chore: Update package.json dependencies for CommonProject 2024-07-25 07:42:45 -06:00
Simon Larsen
07973e85a3
chore: Update package.json dependencies for CommonProject 2024-07-24 19:10:40 -06:00
Simon Larsen
43a22d9973
chore: Update LlmType enum and related code
- Update LlmType enum values to match the new naming convention.
- Update references to Llama to LLM in various files.
- Update CopilotActionsBase.ts to set the llmType to LLM in the constructor.
- Update Init.ts to use the llmServerUrl instead of llamaServerUrl.
- Update LLM.ts to use LLMServer class instead of Llama class.
- Add OpenAI class and update LLM.ts to handle OpenAI LLM type.
- Update Config.ts to handle OpenAI API key and model.
- Add OpenAI.ts file to handle OpenAI LLM responses.
2024-07-10 18:36:00 +01:00
Simon Larsen
676a2b18b3
refactor: Update CodeRepositoryAPI endpoint to use POST method for getting code repository 2024-06-11 13:20:52 +01:00
Simon Larsen
df7477929b
refactor: Update CodeRepositoryAPI endpoint to use POST method for getting code repository
This code change updates the CodeRepositoryAPI endpoint in the CodeRepositoryAPI.ts file to use the POST method instead of the GET method for getting the code repository. The route has also been modified to "/get-code-repository/:secretkey" to align with the API design. This change ensures that the code repository is retrieved securely and follows the recommended RESTful API practices.
2024-06-11 13:00:33 +01:00
Simon Larsen
f9c9480434
refactor: Update logger to use configured log level
This code change updates the logger class to use the configured log level from the environment configuration. The getLogLevel method is added to retrieve the log level, and the info, error, warn, and debug methods are updated to check the log level before logging the message. This change ensures that the logger behaves according to the configured log level, improving the consistency and control of log output.
2024-06-10 17:00:07 +01:00