Giter Club home page Giter Club logo

rustgpt's People

Contributors

jimzer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rustgpt's Issues

Trouble installing via MacOS and Ubuntu 22.0.4

What OS are you using to install rustgpt on? I am having trouble on both Ubuntu and MacOS getting this up and running.

For example on Ubuntu 22.0.4:

:~/rustgpt$ just dev
./tailwindcss -i input.css -o assets/output.css --watch=always
cargo watch -w src -w templates -w tailwind.config.js -w input.css -x run
[Running 'cargo run']
warning: unreachable pattern
--> src/ai/stream.rs:161:13
|
161 | _ => (),
| ^
|
= note: #[warn(unreachable_patterns)] on by default

warning: unused import: Row
--> src/data/repository.rs:4:12
|
4 | use sqlx::{Row, Sqlite, Transaction};
| ^^^
|
= note: #[warn(unused_imports)] on by default

warning: function internal_error is never used
--> src/main.rs:126:4
|
126 | fn internal_error(err: E) -> (StatusCode, String)
| ^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)] on by default

warning: variant DatabaseError is never constructed
--> src/router/app/auth.rs:31:5
|
29 | pub enum LogInError {
| ---------- variant in this enum
30 | InvalidCredentials,
31 | DatabaseError(String),
| ^^^^^^^^^^^^^
|
= note: LogInError has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis

warning: rustgpt (bin "rustgpt") generated 4 warnings
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Running target/debug/rustgpt
thread 'main' panicked at src/main.rs:42:48:
called Result::unwrap() on an Err value: EnvVar(NotPresent)
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
[Finished running. Exit status: 101]

Sorry for asking a n00b question. My strengths are more with golang where we don't seem to have these kind of issues.

Data usage of SSE stream

An issue I noticed was that the SSE were sending the entire text for each update. Is this a limitation imposed by HTMX? In that case some Javascript code receiving them directly and aggregating them into a response and updating the page would be a better approach.

Missing LICENSE

I see you have no LICENSE for this project. The default is copyright.

I would suggest releasing the code under the AGPL-3.0-or-later or GPL-3.0-or-later license so that others are encouraged to contribute changes back to your project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.