Commit Graph

655 Commits

Author SHA1 Message Date
Stijnus
48f4999f32 Update Preview.tsx 2025-01-18 21:45:29 +01:00
Stijnus
b732f20233 bug fix for Open preview in a new tab. 2025-01-18 19:25:01 +01:00
Oliver Jägle
e19644268c
feat: configure dynamic providers via .env (#1108)
Some checks are pending
Docker Publish / docker-build-publish (push) Waiting to run
Update Stable Branch / prepare-release (push) Waiting to run
* Use backend API route to fetch dynamic models

# Conflicts:
#	app/components/chat/BaseChat.tsx

* Override ApiKeys if provided in frontend

* Remove obsolete artifact

* Transport api keys from client to server in header

* Cache static provider information

* Restore reading provider settings from cookie

* Reload only a single provider on api key change

* Transport apiKeys and providerSettings via cookies.

While doing this, introduce a simple helper function for cookies
2025-01-18 03:39:19 +05:30
Stijnus
87ff81035f
feat: added the "Open Preview in a New Tab" (#1101)
* added the "Open Preview in a New Tab"

* enhancement

[Open Preview] [▼]  // Two buttons side by side
    |
    +-- [Mobile (375x667)]    // Dropdown menu
    |-- [Tablet (768x1024)]
    |-- [Laptop (1366x768)]
    +-- [Desktop (1920x1080)]

* Update Preview.tsx

* Update Preview.tsx
2025-01-18 01:55:44 +05:30
Ngô Tấn Tài
c7738243ca
feat: added Github provider (#1109)
Some checks are pending
Docker Publish / docker-build-publish (push) Waiting to run
Update Stable Branch / prepare-release (push) Waiting to run
2025-01-17 13:22:51 +05:30
lewis liu
41bb909f8d
fix: fallback model name not working (#1095)
Some checks failed
Docker Publish / docker-build-publish (push) Has been cancelled
Update Stable Branch / prepare-release (push) Has been cancelled
Co-authored-by: 刘一奇 <liuyiqi02@corp.netease.com>
2025-01-15 16:36:33 +05:30
Digitl Alchemyst
85d864f607
Merge pull request #809 from stackblitz-labs/807-transparency-about-development
Some checks failed
Docker Publish / docker-build-publish (push) Has been cancelled
Update Stable Branch / prepare-release (push) Has been cancelled
docs: document how we work
2025-01-12 23:34:48 -06:00
Anirban Kar
fad41973e2
fix: api-key manager cleanup and log error on llm call (#1077)
* fix: api-key manager cleanup and log error on llm call

* log improved
2025-01-13 04:21:29 +05:30
Eduard Ruzga
3a298f1586
fix: cors issues from preview fixed by changing embedder policies (#1056)
Some checks are pending
Docker Publish / docker-build-publish (push) Waiting to run
Update Stable Branch / prepare-release (push) Waiting to run
2025-01-12 21:58:06 +05:30
GaryStimson
6aaff63ca7
fix: bugfix in fetching API Key on base llm provider. (#1063) 2025-01-12 21:54:45 +05:30
Adithyan K
49bb17886a
fix: added ui indicator on how apikeys are set (UI/Env) for api-key-manager component (#732)
* fixed #333

* Added instruction in case api-key is not set.

* addressed some of the review changes:

1. moved function definiton to useCallback.
2. added a cache to store the env key status and the api call is made only on a cache miss.

* Manages the API-key entered via UI in a better way.

- Persist API keys in cookies when entered via UI
- Automatically load saved keys when switching between providers
- Preserve existing functionality for environment variable based keys

* Re-used map from utils/constants file.

* Code cleanup -  Removed redundant API key init in BaseChat as its already handled by APIKeyManager component.
2025-01-10 21:26:31 +05:30
Leex
6bf36a915c
docs: bugfix/formatting faq docs (#1027)
* fixed formatting of faq and enhanced styling

* save

* did further improvements and fixing the sidebar

---------

Co-authored-by: Anirban Kar <thecodacus@gmail.com>
2025-01-10 21:17:32 +05:30
Oliver Jägle
bc3274c77e
Satisfy the linter 2025-01-07 19:52:50 +01:00
Siddharth V
4fd5040355
feat: enhance chat import with multi-format support (#936)
Some checks failed
Docker Publish / docker-build-publish (push) Has been cancelled
Update Stable Branch / prepare-release (push) Has been cancelled
* feat: enhance chat import with multi-format support

- Add support for importing chats from different formats:
  - Standard Bolt format
  - Chrome extension format
  - History array format
  - Bolt export format
- Add Import Chats button to Data Management
- Add proper error handling and logging
- Update README with backup/restore feature

* refactor: simplify chat import formats

- Remove multi-format support from DataTab
- Keep only standard Bolt export formats
- Simplify ImportButtons to handle standard format only
2025-01-07 16:46:42 +02:00
Anirban Kar
78eb3a5f34
fix: streaming issue fixed for build versions (#1006)
* fix: streaming issue fixed for build versions

* added keep-alive header
2025-01-06 19:18:52 +05:30
Anirban Kar
49c7129ded
fix: ollama and lm studio url issue fix for docker and build (#1008)
* fix: ollama and lm studio url issue fix for docker and build

* vite config fix
2025-01-06 19:18:42 +05:30
kunjabijukchhe
3ecac25a35
feat: implement Claude 3, Claude3.5, Nova Pro, Nova Lite and Mistral model integration with AWS Bedrock (#974)
* feat: Integrate AWS Bedrock with Claude 3.5 Sonnet, Claude 3 Sonnet, and Claude 3.5 Haiku

* update Dockerfile for AWS Bedrock configuration

* feat: add new Bedrock model 'Mistral' and update Haiku to version 3

* feat: add new bedrock model Nova Lite and Nova Pro

* Update README documentation to reflect the latest changes

* Add the icon for aws bedrock

* add support for serialized AWS Bedrock configuration in api key
2025-01-06 17:49:16 +05:30
Anirban Kar
59cae5733d
fix: git private clone with custom proxy (#1010)
* cookie fix

* fix: git private clone with custom proxy

* list -fix
2025-01-06 01:54:55 +05:30
Eduard Ruzga
b1f9380c30
fix: introduce our own cors proxy for git import to fix 403 errors on isometric git cors proxy (#924)
Some checks are pending
Update Stable Branch / prepare-release (push) Waiting to run
* Exploration of improving git import

* Fix our own git proxy

* Clean out file counting for progress, does not seem to work well anyways
2025-01-05 17:26:02 +05:30
Gaurav-Wankhede
e9852bfb22
Update hyperbolic.ts
Changed updated Hyperbolic Settings link
2025-01-01 17:59:11 +05:30
Anirban Kar
d2ba8d3be3
fix: show warning on starter template failure and continue (#960)
Some checks are pending
Update Stable Branch / prepare-release (push) Waiting to run
2025-01-01 13:39:09 +05:30
Anirban Kar
67d984c52c
fix: hotfix auto select starter template works without github token #release (#959)
* fix: hotfix starter template fix, updated header link to use navigate

* template auth fix

* updated changelog script
2025-01-01 03:57:55 +05:30
Anirban Kar
6494f5ac2e
fix: updated logger and model caching minor bugfix #release (#895)
* fix: updated logger and model caching

* usage token stream issue fix

* minor changes

* updated starter template change to fix the app title

* starter template bigfix

* fixed hydretion errors and raw logs

* removed raw log

* made auto select template false by default

* more cleaner logs and updated logic to call dynamicModels only if not found in static models

* updated starter template instructions

* browser console log improved for firefox

* provider icons fix icons
2024-12-31 22:47:32 +05:30
Anirban Kar
389eedcac4
fix: better model loading ui feedback and model list update (#954)
Some checks are pending
Update Stable Branch / prepare-release (push) Waiting to run
* fix: better model loading feedback and model list update

* added load on providersettings  update
2024-12-31 19:22:46 +05:30
Eduard Ruzga
55cfd5d4ee
fix: refresh model list after api key changes (#944)
Some checks are pending
Update Stable Branch / prepare-release (push) Waiting to run
2024-12-30 23:35:08 +05:30
Arsalaan Ahmed
e00264236e
feat: added hyperbolic llm models (#943)
* Added Hyperbolic Models

* Fix: Fixed problem in connecting with hyperbolic models

* added dynamic models for hyperbolic

* removed logs
2024-12-30 23:26:33 +05:30
Eduard Ruzga
93c2a6e81d
Merge pull request #939 from juanmcampos/fix-project-import-button
fix: import folder filtering
2024-12-30 19:39:27 +02:00
Eduard Ruzga
4c81cb02e1
fix: add defaults for LMStudio to work out of the box (#928)
Some checks are pending
Update Stable Branch / prepare-release (push) Waiting to run
2024-12-30 17:50:13 +05:30
Juan Manuel Campos Olvera
6e3b5dcbd7 fix: import folder filtering 2024-12-29 20:21:49 -06:00
Anirban Kar
4c81e154a0
feat: added Automatic Code Template Detection And Import (#867)
Some checks are pending
Update Stable Branch / prepare-release (push) Waiting to run
* initial setup

* updated template list

* added optional switch to control this feature

* removed some logs
2024-12-29 15:52:37 +05:30
Anirban Kar
3a36a4469a
feat: redact file contents from chat and put latest files into system prompt (#904) 2024-12-29 15:36:31 +05:30
Eduard Ruzga
aecd9b1b40
fix: detect and remove markdown block syntax that llms sometimes hallucinate for file actions (#886)
* Clean out markdown syntax

* Remove identation removal

* Improve for streaming
2024-12-29 15:23:20 +05:30
Eduard Ruzga
7eee0386ff
feat: catch errors from web container preview and show in actionable alert so user can send them to AI for fixing (#856)
* Catch errors from web container

* Show fix error popup on errors in preview

* Remove unneeded action type

* PR comments

* Cleanup urls in stacktrace

---------

Co-authored-by: Anirban Kar <thecodacus@gmail.com>
2024-12-25 03:05:44 +05:30
Anirban Kar
fc4f89f806
feat: add Starter template menu in homepage (#884)
* added icons and component

* updated unocss to add dynamic icons

* removed temp logs

* updated readme
2024-12-24 22:37:28 +05:30
Anirban Kar
8185fd56ca
fix: check for updates does not look for commit.json now (#861) 2024-12-24 13:34:46 +05:30
Eduard Ruzga
79e7e75228
Merge pull request #797 from thecodacus/terminal-error-detection
feat: enhanced Terminal Error Handling and Alert System
2024-12-23 14:25:39 +02:00
Dustin Loring
1f938fca40
feat; data tab added to the settings
added a data tab to the settings
removed chat history
2024-12-22 06:20:14 -05:00
Anirban Kar
8b58c7a0fb
fix: ollama provider module base url hotfix for docker (#863)
* fix: ollama base url hotfix

* cleanup logic
2024-12-22 01:25:48 +05:30
Anirban Kar
13b208df46 better osc code cleanup 2024-12-22 01:01:06 +05:30
Anirban Kar
d8943f9474
fix: provider menu dropdown fix (ghost providers) (#862) 2024-12-21 23:31:19 +05:30
Anirban Kar
28f0c3629d ignored alert on project reload 2024-12-21 17:44:18 +05:30
Anirban Kar
975e7d83fd Merge branch 'main' into terminal-error-detection 2024-12-21 16:14:46 +05:30
Anirban Kar
7295352a98
refactor: refactored LLM Providers: Adapting Modular Approach (#832)
* refactor: Refactoring Providers to have providers as modules

* updated package and lock file

* added grok model back

* updated registry system
2024-12-21 11:45:17 +05:30
Anirban Kar
df6925ac07
fix: add Message Processing Throttling to Prevent Browser Crashes (#848) 2024-12-21 02:13:29 +05:30
Anirban Kar
d8a277f0ac
refactor: updated vite config to inject add version metadata into the app on build (#841)
* refactor: removes commit.json and used vite.config to load these variables

* updated precommit hook

* updated the pre start script

* updated the workflows
2024-12-21 01:03:28 +05:30
github-actions[bot]
56edbc4699 chore: update commit hash to ab5cde30a1 2024-12-20 19:17:25 +00:00
Dustin Loring
f2662c1c71
Merge branch 'main' into docs-setup-updated 2024-12-20 14:15:46 -05:00
github-actions[bot]
2638c1a704 chore: update commit hash to 636f87f568 2024-12-19 20:17:35 +00:00
github-actions[bot]
01599caf38 chore: update commit hash to 75ec49beb8 2024-12-19 18:08:12 +00:00
Dustin Loring
bbd9a17d3b Update ProvidersTab.tsx 2024-12-19 13:04:26 -05:00