Skip to content

Commit

Permalink
add endpoint type when ai init github (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
robch authored Sep 16, 2024
1 parent 35d4c57 commit 9d39c55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/details/helpers/config_set_helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ public static void ConfigGitHub(string endpoint, string model, string token)
ConfigSetLambda("@chat.key", token, "Token", token.Substring(0, 4) + "****************************", ref maxLabelWidth),
ConfigSetLambda("@chat.model", model, "Model", model, ref maxLabelWidth),
});
ConfigSet("@chat.endpoint.type", "inference");
actions.ForEach(x => x?.Invoke(maxLabelWidth));
}
}
Expand Down

0 comments on commit 9d39c55

Please sign in to comment.