Skip to content

Commit

Permalink
feat: use llama3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaszkowic committed Aug 22, 2024
1 parent 32cc9f8 commit e7b4008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controllers/model-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const getModels = (req: Request, res: Response<ModelResponse>) => {
},
{
identifier: "citylab-macstudio-llama-3.1",
baseModelName: "llama3",
baseModelName: "llama3.1",
provider: ModelProvider.Ollama,
isGdprCompliant: true,
contextSize: 128000,
Expand Down
2 changes: 1 addition & 1 deletion src/llm-handlers/resolve-llm-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const resolveLlmHandler = (llmType: LLMIdentifier): LLMHandler => {
config.azureLlmEndpointGpt4oMini
);
case "citylab-macstudio-llama-3.1":
return new OllamaLlmHandler("llama3", config.ollamaApiEndpoint);
return new OllamaLlmHandler("llama3.1", config.ollamaApiEndpoint);
// Fallback to Azure LLM handler if the LLM type is not recognized
default:
return new AzureLLMHandler(
Expand Down

0 comments on commit e7b4008

Please sign in to comment.