Commit Graph

73 Commits

Author SHA1 Message Date
Jason Laster
8d4b0d0f18 fix process vars 2025-03-17 19:19:36 -07:00
Jason Laster
bdf151d7c7 Add supabase playwright tests 2025-03-17 11:53:56 -07:00
Jason Laster
3643b878b4 Migrate to vercel 2025-03-14 07:27:30 -07:00
Brian Hackett
9e58d6bb64
Use Nut API development server instead of webcontainers (#50) 2025-03-13 07:59:10 -07:00
Jason Laster
58f2cb0f58 add supabase 2025-03-13 07:09:36 -07:00
Jason Laster
db0e3abb51 Add playwright 2025-03-12 17:54:44 -07:00
Jason Laster
18f1983097 Use remix vite:dev in development 2025-02-27 17:15:14 -05:00
Chris Toshok
e4a57bf59e
[PRO-974] add sentry for both client and server (#20)
Basically ran through the remix + cloudflare setup docs.
2025-02-20 14:13:19 -07:00
Chris Toshok
8d3a8eeb3a
use AsyncLocalStorageContextManager to propagate trace context around (#32)
I noticed that the `llm.chat.*_tokens` attributes weren't in spans, and it turns out none of the attributes from the wrapped function make it in.  only those added synchronously from within `wrapWithSpan` do.

A few things in play here:

1. Switch from `ZoneContextManager` (which doesn't work with native async/await) to `AsyncLocalStorageContextManager` (which does.)
2. (1) requires we use a pnpm patch, since wrangler requires that we import `async_hooks` statically, and the otel code `requires` it, and also requires that it's spelled `node:async_hooks`.
3. encode the payload we try to send _before_ doing the retry loop, so we don't re-encode for each attempt.
4. switch from `startActiveSpan` to `context.with` + `startSpan`.  The latter allows us to wrap an async function.  the former is for synchronous functions.
2025-02-19 06:49:32 -08:00
Chris Toshok
c52ae1f9da
Fix otel errors (#31)
Running the prior code in wrangler (but _not_ `npm run dev`) was generating errors during otel initialization.  I was ultimately unable to figure out why, or how to fix them:

```
  (warn) Initializing OpenTelemetry
  (error) Error initializing OpenTelemetry TypeError: Class constructor OTLPExporterBase2 cannot be invoked without 'new'
```

In the end, it was easier to just boil the ocean a little:  With claude's help, write a custom otlp exporter and use that.  Also use BasicTracerProvider instead of WebTracerProvider.

This version is enough to generate spans from within local wrangler.
2025-02-18 16:18:03 -08:00
Chris Toshok
af4c405620
[PRO-973] basic o11y around anthropic api calls (#22)
add some otel initialization, pointing at honeycomb + a function to wrap other functions with spans.  use that function to wrap `callAnthropic` and add some context (number of messages sent, token usage, along with some metadata should we ever support other providers.)

The honeycomb api key/dataset are to be passed via env vars `HONEYCOMB_API_KEY` and `HONEYCOMB_DATASET` respectively.
2025-02-18 10:06:20 -08:00
Mateusz Burzyński
aec72dd575
More resilient preview script injection and postMessage communication (#12) 2025-02-04 20:45:18 +01:00
Brian Hackett
f040c9b440 Merge remote-tracking branch 'upstream/main' 2025-01-16 08:02:49 -08:00
Brian Hackett
6543f33d54
Fixes for cloudflare deployment (#3) 2025-01-14 13:07:23 -08:00
Brian Hackett
c3e1764da3
Merge pull request #1 from replayio/recording-button
Add button to save recording, assorted other UX changes
2025-01-07 05:56:18 -10:00
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
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
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
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
eduardruzga
1b76d3c28f merge 2024-12-16 11:07:22 +02:00
eduardruzga
2e05270bab Merge 2024-12-14 19:48:37 +02:00
eduardruzga
fcb61ba499 Refactor to use newver v4 version of Vercel AI package 2024-12-09 17:26:33 +02:00
Rob Koch
6eb2d84dff pnpm lock file 2024-12-08 16:31:53 -08:00
Anirban Kar
6323681af0 added lock file 2024-12-09 01:18:02 +05:30
Anirban Kar
3cc19d28a3 added lockfile back 2024-12-09 01:10:31 +05:30
Anirban Kar
cd6b6e41d2 delete lock file 2024-12-09 01:09:27 +05:30
Anirban Kar
3aa90bf990 refactor(SettingWindow):Updated Settings Tab Styling 2024-12-09 00:56:18 +05:30
Anirban Kar
fe2f0080a3
Merge branch 'main' into github-import 2024-12-06 18:54:06 +05:30
eduardruzga
d1ae3477f0 lock file 2024-12-04 20:55:46 +02:00
Anirban Kar
79f3aaeb1b updated pnpm.lock 2024-12-03 12:31:17 +05:30
Anirban Kar
bd236860f9 chore: fixed lock file 2024-12-03 03:23:22 +05:30
Anirban Kar
b499ee1f15 Merge branch 'main' into github-import 2024-12-03 02:48:37 +05:30
Dustin Loring
87620f38be lint rules added and fixed 2024-12-02 06:06:17 -05:00
Dustin Loring
8514a3baaf precommit lint 2024-12-01 15:39:33 -05:00
Dustin Loring
4250fa9834 pre commit lint 2024-12-01 15:17:02 -05:00
Dustin Loring
dcad4d3708 updated packages 2024-12-01 09:58:42 -05:00
dependabot[bot]
34b1235742
Bump the npm_and_yarn group across 1 directory with 9 updates
Bumps the npm_and_yarn group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.1` | `5.3.6` |
| [cross-spawn](https://github.com/moxystudio/node-cross-spawn) | `7.0.3` | `7.0.6` |
| [elliptic](https://github.com/indutny/elliptic) | `6.5.6` | `6.6.1` |
| [express](https://github.com/expressjs/express) | `4.19.2` | `4.21.1` |
| [micromatch](https://github.com/micromatch/micromatch) | `4.0.7` | `4.0.8` |
| [rollup](https://github.com/rollup/rollup) | `4.18.0` | `4.27.4` |



Updates `vite` from 5.3.1 to 5.3.6
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.3.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.6/packages/vite)

Updates `cross-spawn` from 7.0.3 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

Updates `elliptic` from 6.5.6 to 6.6.1
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.6...v6.6.1)

Updates `express` from 4.19.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1)

Updates `micromatch` from 4.0.7 to 4.0.8
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8)

Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10)

Updates `rollup` from 4.18.0 to 4.27.4
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.18.0...v4.27.4)

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: elliptic
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: micromatch
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: path-to-regexp
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: rollup
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: send
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: serve-static
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-29 16:32:26 +00:00
Eduard Ruzga
9b62edd910
Merge pull request #413 from wonderwhy-er/Import-folder
(Ready for Review) Start chat with Folder Import
2024-11-26 10:03:29 +02:00
eduardruzga
050bf2028f Added parsing if ignore file and added handling of binary files 2024-11-25 19:50:01 +02:00
Anirban Kar
e6ed210d0d work in progress poc git import 2024-11-25 19:53:54 +05:30
Oliver Jägle
b0eab230b5
adds Husky 🐶 for pre-commit linting 2024-11-22 20:49:51 +01:00
Raiyan Hasan
d41a0ac2c2 Cohere support added 2024-11-20 15:08:42 +00:00
eduardruzga
ecf84f7416 Lock file 2024-11-18 21:20:21 +02:00
ali00209
a544611a56 fix: working 2024-10-29 08:19:30 +05:00
Cole Medin
8ab8e678cb Cleanup and fixing Ollama models not showing up after merging changes 2024-10-24 08:46:34 -05:00
Cole Medin
5d70255d43
Merge pull request #36 from ArulGandhi/main
Add mistral models.
2024-10-24 08:06:00 -05:00
ArulGandhi
1b1cd183f5 mistral models added
more mistral models added. some tested, rest assumed to be working
2024-10-22 09:47:30 +05:30
goncaloalves
059933a0c6 Added GitHub push functionality 2024-10-21 20:14:35 +01:00
Cole Medin
d7bda6f0e9 Fixing up codebase after merging pull requests 2024-10-19 13:21:24 -05:00
Waseem Anjum
21dbd42184 added download code button 2024-10-19 12:26:29 +05:00