Skip to content

Commit 0ac8045

Browse files
authored
Merge pull request #100 from BeeLeDev/main
feat: gpt-4o-mini & docs: building
2 parents 1c6578b + c2495ec commit 0ac8045

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ To start using the plugin, enable it in your settings menu and insert an API key
130130
- gpt-4
131131
- gpt-4-turbo
132132
- gpt-4o
133+
- gpt-4o-mini
133134
- Any Openrouter provided models.
134135

135136
## Other Notes
@@ -146,4 +147,11 @@ If you have any bugs or improvements, please create an issue.
146147

147148
If you like to share your ideas, profiles, or anything else, please join or create a discussion.
148149

150+
## Building
151+
152+
1. Clone the repository into the .obsidian/plugins folder.
153+
2. Run `npm install` in the plugin's folder.
154+
3. Run `npm run dev`.
155+
4. Disable/Enable "BMO Chatbot" in the settings to refresh the plugin.
156+
149157
<a href='https://ko-fi.com/K3K8PNYT8' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi1.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>

src/view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { fetchOpenAIAPIResponseStream,
2222

2323
export const VIEW_TYPE_CHATBOT = 'chatbot-view';
2424
export const ANTHROPIC_MODELS = ['claude-instant-1.2', 'claude-2.0', 'claude-2.1', 'claude-3-haiku-20240307', 'claude-3-sonnet-20240229', 'claude-3-5-sonnet-20240620', 'claude-3-opus-20240229'];
25-
export const OPENAI_MODELS = ['gpt-3.5-turbo', 'gpt-4', 'gpt-4-turbo', 'gpt-4o'];
25+
export const OPENAI_MODELS = ['gpt-3.5-turbo', 'gpt-4', 'gpt-4-turbo', 'gpt-4o', 'gpt-4o-mini'];
2626

2727
export function fileNameMessageHistoryJson(plugin: BMOGPT) {
2828
const filenameMessageHistoryPath = './.obsidian/plugins/bmo-chatbot/data/';

0 commit comments

Comments
 (0)