Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stable additions #491

Merged
merged 25 commits into from
Dec 1, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
604ab87
feat: add custom unique filename when doanload as zip
lassecapel Nov 17, 2024
399affd
update comment to reflect the the codeline
lassecapel Nov 17, 2024
8978ed0
use a descriptive anique filename when downloading the files to zip
lassecapel Nov 20, 2024
43839b1
[fix]: artifact actionlist rendering in chat
PuneetP16 Nov 26, 2024
651a4f8
Updated README Headings and Ollama Section
dustinwloring1988 Dec 1, 2024
cb1fd38
liniting fix
dustinwloring1988 Dec 1, 2024
88479fe
Merge pull request #9 from lassecapel/feat-add-custom-project-name
dustinwloring1988 Dec 1, 2024
416f7f9
Update constants.ts
dustinwloring1988 Dec 1, 2024
9d82637
Update docker-compose.yaml
dustinwloring1988 Dec 1, 2024
c4347cb
added collapsable chat area
dustinwloring1988 Dec 1, 2024
35107ad
Update ExamplePrompts.tsx
dustinwloring1988 Dec 1, 2024
2803f85
Merge pull request #11 from PuneetP16/fix-artifact-code-block-rendering
dustinwloring1988 Dec 1, 2024
b3d6181
Merge pull request #16 from dustinwloring1988/default-prompt-change
dustinwloring1988 Dec 1, 2024
7066bfc
Merge pull request #17 from dustinwloring1988/collapsible-model-and-p…
dustinwloring1988 Dec 1, 2024
a70c0ea
Merge pull request #18 from dustinwloring1988/pretty-up
dustinwloring1988 Dec 1, 2024
ca4bcba
Merge pull request #20 from dustinwloring1988/readme-heading-ollama-s…
dustinwloring1988 Dec 1, 2024
5a7f491
Merge pull request #15 from dustinwloring1988/artifact-code-block
dustinwloring1988 Dec 1, 2024
a79aa1f
Merge pull request #19 from dustinwloring1988/unique-name-on-download…
dustinwloring1988 Dec 1, 2024
54cb475
Merge branch 'stable-additions' into linting-fix
dustinwloring1988 Dec 1, 2024
8a6d32f
Merge pull request #21 from dustinwloring1988/linting-fix
dustinwloring1988 Dec 1, 2024
b0b617d
lint fix
dustinwloring1988 Dec 1, 2024
7574337
fixed path
dustinwloring1988 Dec 1, 2024
6aaa2f0
Update ImportFolderButton.tsx
dustinwloring1988 Dec 1, 2024
4566d9a
last test fix
dustinwloring1988 Dec 1, 2024
dcad4d3
updated packages
dustinwloring1988 Dec 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update constants.ts
dustinwloring1988 authored Dec 1, 2024
commit 416f7f90976bcdd86211625d76aaac65151ec335
8 changes: 5 additions & 3 deletions app/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -283,9 +283,11 @@ const getOllamaBaseUrl = () => {
};

async function getOllamaModels(): Promise<ModelInfo[]> {
//if (typeof window === 'undefined') {
//return [];
//}
/*
* if (typeof window === 'undefined') {
* return [];
* }
*/

try {
const baseUrl = getOllamaBaseUrl();