Skip to content

Commit

Permalink
Merge pull request #100 from BeeLeDev/main
Browse files Browse the repository at this point in the history
feat: gpt-4o-mini & docs: building
  • Loading branch information
longy2k authored Jul 21, 2024
2 parents 1c6578b + c2495ec commit 0ac8045
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ To start using the plugin, enable it in your settings menu and insert an API key
- gpt-4
- gpt-4-turbo
- gpt-4o
- gpt-4o-mini
- Any Openrouter provided models.

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

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

## Building

1. Clone the repository into the .obsidian/plugins folder.
2. Run `npm install` in the plugin's folder.
3. Run `npm run dev`.
4. Disable/Enable "BMO Chatbot" in the settings to refresh the plugin.

<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>
2 changes: 1 addition & 1 deletion src/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { fetchOpenAIAPIResponseStream,

export const VIEW_TYPE_CHATBOT = 'chatbot-view';
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'];
export const OPENAI_MODELS = ['gpt-3.5-turbo', 'gpt-4', 'gpt-4-turbo', 'gpt-4o'];
export const OPENAI_MODELS = ['gpt-3.5-turbo', 'gpt-4', 'gpt-4-turbo', 'gpt-4o', 'gpt-4o-mini'];

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

0 comments on commit 0ac8045

Please sign in to comment.