Skip to content

Commit b0c0671

Browse files
committed
add gpt-5.1
1 parent af1cb70 commit b0c0671

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export const providerConfigs = {
121121
displayName: "OpenAI",
122122
/** https://platform.openai.com/docs/models */
123123
models: [
124+
{ id: "gpt-5.1", displayName: "gpt-5.1" },
124125
{ id: "gpt-5", displayName: "gpt-5" },
125126
{ id: "gpt-5-mini", displayName: "gpt-5-mini" },
126127
{ id: "gpt-5-nano", displayName: "gpt-5-nano" },

src/main.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import json from "highlight.js/lib/languages/json";
2727
import sql from "highlight.js/lib/languages/sql";
2828
import "@beekeeperstudio/plugin/dist/eventForwarder";
2929
import { createAppEvent } from "@/plugins/appEvent";
30-
import { VueKeyboardTrapDirectivePlugin } from '@pdanpdan/vue-keyboard-trap';
30+
import { VueKeyboardTrapDirectivePlugin } from "@pdanpdan/vue-keyboard-trap";
3131

3232
setDebugComms(false);
3333

@@ -56,6 +56,14 @@ addNotificationListener("themeChanged", (args) => {
5656
`:root { ${args.cssString} }`;
5757
});
5858

59+
if (import.meta.env.MODE === "development") {
60+
document.addEventListener("keydown", (e) => {
61+
if (e.ctrlKey && e.key === "r") {
62+
window.location.reload();
63+
}
64+
});
65+
}
66+
5967
// Create and mount the Vue app
6068
const app = createApp(App);
6169
const pinia = createPinia();

0 commit comments

Comments
 (0)