Commit Graph

6 Commits

Author SHA1 Message Date
Simon Larsen
0a02aba790 feat: Add lazy loading for images in PullRequestView 2024-07-12 20:17:57 +00:00
Simon Larsen
658cb9fee3 refactor: Update URL for validating secret key in app.py
The code changes in `app.py` update the URL for validating the secret key. The previous URL was using the endpoint `/api/code-repository/is-valid/{secretKey}`, and it has been changed to `/api/copilot-code-repository/is-valid/{secretKey}`. This change ensures that the correct endpoint is used for validating the secret key in the OneUptime service.
2024-07-09 19:38:29 +00:00
Simon Larsen
a34a6657f0 feat: Add max_new_tokens parameter to job function
The code changes in `app.py` add a new parameter `max_new_tokens` to the `job` function. This parameter allows the maximum number of new tokens to be specified when calling the function. This change enhances the flexibility and control of the `job` function by allowing the maximum number of new tokens to be adjusted as needed.
2024-07-08 18:46:22 +00:00
Simon Larsen
733901a870 refactor: Use array of messages in CopilotActionsBase.ts, RefactorCode.ts, ImproveReadme.ts, ImproveVariableNames.ts, FixGrammarAndSpelling.ts, and WriteUnitTests.ts
This refactor changes the code in CopilotActionsBase.ts, RefactorCode.ts, ImproveReadme.ts, ImproveVariableNames.ts, FixGrammarAndSpelling.ts, and WriteUnitTests.ts to use an array of messages instead of a single prompt. Each message in the array contains the content and role of the prompt, improving flexibility and readability.
2024-07-02 11:19:53 +00:00
Simon Larsen
b94d862cae
chore: Update LLM Dockerfile and build process 2024-06-28 12:14:49 +01:00
Simon Larsen
9a86978c9d
chore: Update Llama Models directory name to LLM
The directory name for Llama Models has been updated from "Llama/Models" to "LLM/Models". This change ensures consistency and aligns with the updated file paths in the codebase.
2024-06-28 11:32:44 +01:00