Closed 0PandaDEV closed 4 months ago
I tried your request and for me it just goes on generating.
~/Workspace/devika(main*) » docker compose up
[+] Running 2/0
✔ Container devika-devika-backend-engine-1 Created 0.0s
✔ Container devika-devika-frontend-app-1 Created 0.0s
Attaching to devika-backend-engine-1, devika-frontend-app-1
devika-frontend-app-1 | $ vite dev --host
devika-backend-engine-1 | 24.04.04 06:23:37: root: INFO : Initializing Devika...
devika-backend-engine-1 | 24.04.04 06:23:37: root: INFO : Initializing Prerequisites Jobs...
devika-frontend-app-1 |
devika-frontend-app-1 | VITE v5.2.8 ready in 793 ms
devika-frontend-app-1 |
devika-frontend-app-1 | ➜ Local: http://localhost:3000/
devika-frontend-app-1 | ➜ Network: http://172.27.0.3:3000/
devika-backend-engine-1 | 24.04.04 06:23:42: root: INFO : Loading sentence-transformer BERT models...
devika-backend-engine-1 | 24.04.04 06:23:47: root: INFO : BERT model loaded successfully.
devika-backend-engine-1 | 24.04.04 06:23:49: root: INFO : Ollama available
devika-backend-engine-1 | huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
devika-backend-engine-1 | To disable this warning, you can either:
devika-backend-engine-1 | - Avoid using `tokenizers` before the fork if possible
devika-backend-engine-1 | - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
devika-backend-engine-1 | huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
devika-backend-engine-1 | To disable this warning, you can either:
devika-backend-engine-1 | - Avoid using `tokenizers` before the fork if possible
devika-backend-engine-1 | - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
devika-backend-engine-1 | 24.04.04 06:23:50: root: INFO : Devika is up and running!
devika-backend-engine-1 | Socket connected :: {'data': 'frontend connected!'}
devika-backend-engine-1 | 24.04.04 06:23:53: root: INFO : SOCKET socket_response MESSAGE: {'data': 'Server Connected'}
devika-backend-engine-1 | 24.04.04 06:24:09: root: INFO : /api/create-project POST
devika-backend-engine-1 | 24.04.04 06:24:09: root: DEBUG : /api/create-project POST - Response: {"message":"Project created"}
devika-backend-engine-1 |
devika-backend-engine-1 | 24.04.04 06:24:09: root: INFO : /api/get-agent-state POST
devika-backend-engine-1 | 24.04.04 06:24:09: root: DEBUG : /api/get-agent-state POST - Response: {"state":null}
devika-backend-engine-1 |
devika-backend-engine-1 | 24.04.04 06:24:14: root: INFO : /api/calculate-tokens POST
devika-backend-engine-1 | 24.04.04 06:24:14: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":64}
devika-backend-engine-1 |
devika-backend-engine-1 | 24.04.04 06:24:30: root: INFO : /api/data GET
devika-backend-engine-1 | 24.04.04 06:24:30: root: DEBUG : /api/data GET - Response: {"models":{"CLAUDE":[["Claude 3 Opus","claude-3-opus-20240229"],["Claude 3 Sonnet","claude-3-sonnet-20240229"],["Claude 3 Haiku","claude-3-haiku-20240307"]],"GOOGLE":[["Gemini 1.0 Pro","gemini-pro"]],"GROQ":[["GROQ Mixtral","mixtral-8x7b-32768"],["GROQ LLAMA2 70B","llama2-70b-4096"],["GROQ GEMMA 7B IT","gemma-7b-it"]],"MISTRAL":[["Mistral 7b","open-mistral-7b"],["Mistral 8x7b","open-mixtral-8x7b"],["Mistral Medium","mistral-medium-latest"],["Mistral Small","mistral-small-latest"],["Mistral Large","mistral-large-latest"]],"OLLAMA":[["hub/dwbranson/image-analysis-using-llava-v5","hub/dwbranson/image-analysis-using-llava-v5:latest"],["dolphin-2.8-mistral-7b-v0.2-32k","dolphin-2.8-mistral-7b-v0.2-32k:latest"],["dolphin-mistral","dolphin-mistral:7b-v2.6-dpo-laser"],["dolphin-mistral","dolphin-mistral:7b-v2.8"],["dolphin-mistral-7b-v2.6-dpo-laser","dolphin-mistral-7b-v2.6-dpo-laser:latest"],["dolphin-phi","dolphin-phi:latest"],["latest","latest:latest"],["llava","llava:7b-v1.6-vicuna-q4_0"],["uncensored-dolphin","uncensored-dolphin:latest"]],"OPENAI":[["GPT-4 Turbo","gpt-4-0125-preview"],["GPT-3.5","gpt-3.5-turbo-0125"]]},"projects":["game of life","test"],"search_engines":["Bing","Google","DuckDuckGo"]}
devika-backend-engine-1 |
devika-backend-engine-1 | 24.04.04 06:24:30: root: INFO : /api/get-agent-state POST
devika-backend-engine-1 | 24.04.04 06:24:30: root: DEBUG : /api/get-agent-state POST - Response: {"state":null}
devika-backend-engine-1 |
devika-backend-engine-1 | Socket connected :: {'data': 'frontend connected!'}
devika-backend-engine-1 | 24.04.04 06:24:30: root: INFO : SOCKET socket_response MESSAGE: {'data': 'Server Connected'}
devika-backend-engine-1 | 24.04.04 06:24:32: root: INFO : /api/get-agent-state POST
devika-backend-engine-1 | 24.04.04 06:24:32: root: DEBUG : /api/get-agent-state POST - Response: {"state":null}
devika-backend-engine-1 |
devika-backend-engine-1 | 24.04.04 06:24:34: root: INFO : /api/calculate-tokens POST
devika-backend-engine-1 | 24.04.04 06:24:34: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":64}
devika-backend-engine-1 |
devika-backend-engine-1 | 24.04.04 06:24:46: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'write a rust script in this tauri app https://github.com/Vleerapp/Vleer that can handle music playback especially of webm files with opus streams in it. i want a simple wrapper i can call from the frontend to play, pause, skip, rewind and set the volume on the go', 'timestamp': '2024-04-04 06:24:46'}}
devika-backend-engine-1 | 24.04.04 06:24:46: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 852}
devika-backend-engine-1 | Model: dolphin-2.8-mistral-7b-v0.2-32k:latest, Enum: OLLAMA
devika-backend-engine-1 | 24.04.04 06:25:33: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 1174}
devika-backend-engine-1 |
devika-backend-engine-1 | plan :: Project Name: VleerMusicHandler
devika-backend-engine-1 |
devika-backend-engine-1 | Your Reply to the Human Prompter: I'm going to create a plan for handling music playback, specifically webm files with opus streams in them, using a simple wrapper that can be called from the frontend.
devika-backend-engine-1 |
devika-backend-engine-1 | Current Focus: Researching and implementing the necessary steps to accomplish the objective.
devika-backend-engine-1 |
devika-backend-engine-1 | Plan:
devika-backend-engine-1 | - [ ] Step 1: Investigate existing libraries and tools for handling music playback in Rust, specifically for webm files with opus streams. This will help determine the best approach for achieving the desired functionality.
devika-backend-engine-1 | - [ ] Step 2: Choose a suitable library or tool that meets the requirements of playing webm files with opus streams and provides APIs for control such as play, pause, skip, rewind, and volume adjustment. Ensure it is compatible with the Rust programming language used in the Tauri app.
devika-backend-engine-1 | - [ ] Step 3: Integrate the chosen library or tool into the existing Tauri app codebase to enable music playback functionality. This may involve modifying the frontend and backend components of the app to utilize the new playback control APIs provided by the selected library.
devika-backend-engine-1 | - [ ] Step 4: Test the integrated music playback functionality using a variety of webm files with opus streams, verifying that the play, pause, skip, rewind, and volume adjustment features work as expected.
devika-backend-engine-1 | - [ ] Step 5: Document the implementation details and provide clear instructions for other developers to utilize the new music playback functionality in the Tauri app.
devika-backend-engine-1 |
devika-backend-engine-1 | Summary: The plan involves researching suitable libraries or tools for handling webm files with opus streams, selecting one that meets the requirements, integrating it into the existing Tauri app codebase, testing the implementation, and documenting the process for future developers. Potential challenges include finding a suitable library or tool and ensuring compatibility between different components of the app.
Note that you dont get the following INFO level messages
devika-backend-engine-1 | Socket connected :: {'data': 'frontend connected!'}
devika-backend-engine-1 | 24.04.04 06:23:53: root: INFO : SOCKET socket_response MESSAGE: {'data': 'Server Connected'}
devika-backend-engine-1 | 24.04.04 06:24:09: root: INFO : /api/create-project POST
so it seems to hang before.
Can you increase the verbosity to DEBUG?
I think it can be enabled in config.toml
[LOGGING]
LOG_REST_API = "true"
LOG_PROMPTS = "true"
It does connect successfully, I just did not capture that on the first screenshot
But in the console of the front end I don't see any prints
Maybe press reload on the browser again after everything has started up. It seems to hang sometimes such that model selection or search engine selection isn't possible.
still the same issue it just does nothing when i send the prompt it does not even show the prompt on the interface
i have have the same proplem. MacBook Pro
your message is showing up on the screen means the socket is working and send your data to the agent. Which model are you using? also share the python log by enable the variable in config.toml to true in logging
I'm having the same issue.
Tried different models but nothing helped. Basically no response.
Full log. Note, the api keys are no longer valid. (Amazed that these get passed to the logs though)
24.04.05 13:25:19: root: INFO : Ollama available
24.04.05 13:25:20: root: INFO : Devika is up and running!
24.04.05 13:25:26: root: INFO : SOCKET socket_response MESSAGE: {'data': 'Server Connected'}
24.04.05 13:26:53: root: INFO : /api/data GET
24.04.05 13:26:53: root: DEBUG : /api/data GET - Response: {"models":{"CLAUDE":[["Claude 3 Opus","claude-3-opus-20240229"],["Claude 3 Sonnet","claude-3-sonnet-20240229"],["Claude 3 Haiku","claude-3-haiku-20240307"]],"GOOGLE":[["Gemini 1.0 Pro","gemini-pro"]],"GROQ":[["GROQ Mixtral","mixtral-8x7b-32768"],["GROQ LLAMA2 70B","llama2-70b-4096"],["GROQ GEMMA 7B IT","gemma-7b-it"]],"MISTRAL":[["Mistral 7b","open-mistral-7b"],["Mistral 8x7b","open-mixtral-8x7b"],["Mistral Medium","mistral-medium-latest"],["Mistral Small","mistral-small-latest"],["Mistral Large","mistral-large-latest"]],"OLLAMA":[["example","example:latest"],["gemma","gemma:latest"],["llama2","llama2:latest"],["mistral","mistral:latest"],["test","test:latest"]],"OPENAI":[["GPT-4 Turbo","gpt-4-0125-preview"],["GPT-3.5","gpt-3.5-turbo-0125"]]},"projects":[],"search_engines":["Bing","Google","DuckDuckGo"]}
24.04.05 13:26:53: root: INFO : SOCKET socket_response MESSAGE: {'data': 'Server Connected'}
24.04.05 13:26:53: root: INFO : /api/get-agent-state POST
24.04.05 13:26:53: root: DEBUG : /api/get-agent-state POST - Response: {"state":null}
24.04.05 13:27:00: root: INFO : /api/create-project POST
24.04.05 13:27:00: root: DEBUG : /api/create-project POST - Response: {"message":"Project created"}
24.04.05 13:27:00: root: INFO : /api/get-agent-state POST
24.04.05 13:27:00: root: DEBUG : /api/get-agent-state POST - Response: {"state":null}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 13:27:13: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:13: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:14: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:14: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:14: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:14: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:14: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:14: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:27:14: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:14: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:27:14: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:14: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:14: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:14: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:27:15: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:15: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:27:15: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:15: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:27:15: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:15: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:27:15: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:15: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:27:15: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:15: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:27:17: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:17: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 13:27:18: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:18: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 13:27:18: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:18: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 13:27:18: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:18: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 13:27:18: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:18: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 13:27:18: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:18: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":7}
24.04.05 13:27:18: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:18: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":7}
24.04.05 13:27:19: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:19: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":7}
24.04.05 13:27:19: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:19: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":7}
24.04.05 13:27:19: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:19: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":8}
24.04.05 13:27:20: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":9}
24.04.05 13:27:20: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":7}
24.04.05 13:27:21: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":8}
24.04.05 13:27:21: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":8}
24.04.05 13:27:21: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":8}
24.04.05 13:27:21: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":8}
24.04.05 13:27:21: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":8}
24.04.05 13:27:21: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":9}
24.04.05 13:27:21: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":9}
24.04.05 13:27:21: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":9}
24.04.05 13:27:21: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":9}
24.04.05 13:27:21: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":10}
24.04.05 13:27:22: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":10}
24.04.05 13:27:23: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:23: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":10}
24.04.05 13:27:23: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:23: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":10}
24.04.05 13:27:23: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:23: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":11}
24.04.05 13:27:23: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:23: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":12}
24.04.05 13:27:24: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:24: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":12}
24.04.05 13:27:24: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:24: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":12}
24.04.05 13:27:24: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:24: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":12}
24.04.05 13:27:24: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:24: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":12}
24.04.05 13:27:24: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:24: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:26: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:26: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:26: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:26: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:26: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:26: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:26: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:26: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":12}
24.04.05 13:27:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:28: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:28: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:28: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:28: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:28: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:28: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:28: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:28: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:29: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:29: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:29: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:29: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:29: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:29: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":12}
24.04.05 13:27:29: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:29: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":13}
24.04.05 13:27:29: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:29: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:29: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:29: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:29: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:29: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":15}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":14}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":15}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":15}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":15}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":15}
24.04.05 13:27:30: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:30: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:31: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:31: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:31: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:31: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:31: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:31: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:31: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:31: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:31: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:31: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":17}
24.04.05 13:27:31: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:31: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:31: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:31: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:32: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:32: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:32: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:32: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:32: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:32: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:32: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:32: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:32: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:32: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:32: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:32: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:32: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:32: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":17}
24.04.05 13:27:32: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:32: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:33: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:33: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":16}
24.04.05 13:27:33: root: INFO : /api/calculate-tokens POST
24.04.05 13:27:33: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":17}
24.04.05 13:27:34: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'build me a simple calculator in python that can add, subtract, multiply and divide.', 'timestamp': '2024-04-05 13:27:34'}}
24.04.05 13:27:34: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 756}
24.04.05 13:28:53: root: INFO : /api/data GET
24.04.05 13:28:53: root: DEBUG : /api/data GET - Response: {"models":{"CLAUDE":[["Claude 3 Opus","claude-3-opus-20240229"],["Claude 3 Sonnet","claude-3-sonnet-20240229"],["Claude 3 Haiku","claude-3-haiku-20240307"]],"GOOGLE":[["Gemini 1.0 Pro","gemini-pro"]],"GROQ":[["GROQ Mixtral","mixtral-8x7b-32768"],["GROQ LLAMA2 70B","llama2-70b-4096"],["GROQ GEMMA 7B IT","gemma-7b-it"]],"MISTRAL":[["Mistral 7b","open-mistral-7b"],["Mistral 8x7b","open-mixtral-8x7b"],["Mistral Medium","mistral-medium-latest"],["Mistral Small","mistral-small-latest"],["Mistral Large","mistral-large-latest"]],"OLLAMA":[["example","example:latest"],["gemma","gemma:latest"],["llama2","llama2:latest"],["mistral","mistral:latest"],["test","test:latest"]],"OPENAI":[["GPT-4 Turbo","gpt-4-0125-preview"],["GPT-3.5","gpt-3.5-turbo-0125"]]},"projects":["test"],"search_engines":["Bing","Google","DuckDuckGo"]}
24.04.05 13:28:53: root: INFO : SOCKET socket_response MESSAGE: {'data': 'Server Connected'}
24.04.05 13:28:53: root: INFO : /api/get-agent-state POST
24.04.05 13:28:53: root: DEBUG : /api/get-agent-state POST - Response: {"state":null}
24.04.05 13:29:02: root: INFO : /api/get-agent-state POST
24.04.05 13:29:02: root: DEBUG : /api/get-agent-state POST - Response: {"state":{"agent_is_active":true,"browser_session":{"screenshot":null,"url":null},"completed":false,"internal_monologue":null,"message":null,"step":null,"terminal_session":{"command":null,"output":null,"title":null},"timestamp":"2024-04-05 13:27:34","token_usage":378}}
24.04.05 13:29:05: root: INFO : /api/calculate-tokens POST
24.04.05 13:29:05: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":17}
24.04.05 13:29:16: root: INFO : /api/calculate-tokens POST
24.04.05 13:29:16: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":0}
24.04.05 13:29:43: root: INFO : /api/calculate-tokens POST
24.04.05 13:29:43: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":17}
24.04.05 13:29:44: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'build me a simple calculator in python that can add, subtract, multiply and divide.', 'timestamp': '2024-04-05 13:29:44'}}
24.04.05 13:44:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:44:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:44:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:44:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:44:27: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:27: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:44:28: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:28: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:44:29: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'hello?', 'timestamp': '2024-04-05 13:44:29'}}
24.04.05 13:44:45: root: INFO : /api/data GET
24.04.05 13:44:45: root: DEBUG : /api/data GET - Response: {"models":{"CLAUDE":[["Claude 3 Opus","claude-3-opus-20240229"],["Claude 3 Sonnet","claude-3-sonnet-20240229"],["Claude 3 Haiku","claude-3-haiku-20240307"]],"GOOGLE":[["Gemini 1.0 Pro","gemini-pro"]],"GROQ":[["GROQ Mixtral","mixtral-8x7b-32768"],["GROQ LLAMA2 70B","llama2-70b-4096"],["GROQ GEMMA 7B IT","gemma-7b-it"]],"MISTRAL":[["Mistral 7b","open-mistral-7b"],["Mistral 8x7b","open-mixtral-8x7b"],["Mistral Medium","mistral-medium-latest"],["Mistral Small","mistral-small-latest"],["Mistral Large","mistral-large-latest"]],"OLLAMA":[["example","example:latest"],["gemma","gemma:latest"],["llama2","llama2:latest"],["mistral","mistral:latest"],["test","test:latest"]],"OPENAI":[["GPT-4 Turbo","gpt-4-0125-preview"],["GPT-3.5","gpt-3.5-turbo-0125"]]},"projects":["test"],"search_engines":["Bing","Google","DuckDuckGo"]}
24.04.05 13:44:45: root: INFO : /api/get-agent-state POST
24.04.05 13:44:45: root: DEBUG : /api/get-agent-state POST - Response: {"state":null}
24.04.05 13:44:45: root: INFO : SOCKET socket_response MESSAGE: {'data': 'Server Connected'}
24.04.05 13:44:47: root: INFO : /api/get-agent-state POST
24.04.05 13:44:47: root: DEBUG : /api/get-agent-state POST - Response: {"state":{"agent_is_active":true,"browser_session":{"screenshot":null,"url":null},"completed":false,"internal_monologue":null,"message":null,"step":null,"terminal_session":{"command":null,"output":null,"title":null},"timestamp":"2024-04-05 13:27:34","token_usage":378}}
24.04.05 13:44:59: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:59: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:44:59: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:59: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:44:59: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:59: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:44:59: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:59: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 13:44:59: root: INFO : /api/calculate-tokens POST
24.04.05 13:44:59: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 13:45:00: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:00: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 13:45:00: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:00: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 13:45:00: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:00: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:45:00: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:00: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":0}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 13:45:01: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:01: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 13:45:02: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:02: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:45:02: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:02: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 13:45:02: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:02: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 13:45:02: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:02: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":7}
24.04.05 13:45:02: root: INFO : /api/calculate-tokens POST
24.04.05 13:45:02: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":8}
24.04.05 13:45:03: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'what is 5 + 5?', 'timestamp': '2024-04-05 13:45:03'}}
24.04.05 13:45:13: root: INFO : /api/settings GET
24.04.05 13:45:13: root: DEBUG : /api/settings GET - Response: {"settings":{"API_ENDPOINTS":{"BING":"https://api.bing.microsoft.com/v7.0/search","GOOGLE":"https://www.googleapis.com/customsearch/v1","OLLAMA":"http://127.0.0.1:11434"},"API_KEYS":{"BING":"<YOUR_BING_API_KEY>","CLAUDE":"<YOUR_CLAUDE_API_KEY>","GEMINI":"<YOUR_GEMINI_API_KEY>","GOOGLE_SEARCH":"AIzaSyAkGpy27ko_JaU26RGrLlMeA5B1O-AyMMs","GOOGLE_SEARCH_ENGINE_ID":"<YOUR_GOOGLE_SEARCH_ENGINE_ID>","GROQ":"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","MISTRAL":"<YOUR_MISTRAL_API_KEY>","NETLIFY":"<YOUR_NETLIFY_API_KEY>","OPENAI":"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"},"LOGGING":{"LOG_PROMPTS":"false","LOG_REST_API":"true"},"STORAGE":{"LOGS_DIR":"data/logs","PDFS_DIR":"data/pdfs","PROJECTS_DIR":"data/projects","REPOS_DIR":"data/repos","SCREENSHOTS_DIR":"data/screenshots","SQLITE_DB":"data/db/devika.db"}}}
24.04.05 13:45:44: root: INFO : SOCKET socket_response MESSAGE: {'data': 'Server Connected'}
24.04.05 13:45:44: root: INFO : /api/data GET
24.04.05 13:45:44: root: DEBUG : /api/data GET - Response: {"models":{"CLAUDE":[["Claude 3 Opus","claude-3-opus-20240229"],["Claude 3 Sonnet","claude-3-sonnet-20240229"],["Claude 3 Haiku","claude-3-haiku-20240307"]],"GOOGLE":[["Gemini 1.0 Pro","gemini-pro"]],"GROQ":[["GROQ Mixtral","mixtral-8x7b-32768"],["GROQ LLAMA2 70B","llama2-70b-4096"],["GROQ GEMMA 7B IT","gemma-7b-it"]],"MISTRAL":[["Mistral 7b","open-mistral-7b"],["Mistral 8x7b","open-mixtral-8x7b"],["Mistral Medium","mistral-medium-latest"],["Mistral Small","mistral-small-latest"],["Mistral Large","mistral-large-latest"]],"OLLAMA":[["example","example:latest"],["gemma","gemma:latest"],["llama2","llama2:latest"],["mistral","mistral:latest"],["test","test:latest"]],"OPENAI":[["GPT-4 Turbo","gpt-4-0125-preview"],["GPT-3.5","gpt-3.5-turbo-0125"]]},"projects":["test"],"search_engines":["Bing","Google","DuckDuckGo"]}
24.04.05 13:45:44: root: INFO : /api/get-agent-state POST
24.04.05 13:45:44: root: DEBUG : /api/get-agent-state POST - Response: {"state":{"agent_is_active":true,"browser_session":{"screenshot":null,"url":null},"completed":false,"internal_monologue":null,"message":null,"step":null,"terminal_session":{"command":null,"output":null,"title":null},"timestamp":"2024-04-05 13:27:34","token_usage":378}}
24.04.05 14:29:22: root: INFO : Initializing Devika...
24.04.05 14:29:22: root: INFO : Initializing Prerequisites Jobs...
24.04.05 14:29:37: root: INFO : Loading sentence-transformer BERT models...
24.04.05 14:29:40: root: INFO : BERT model loaded successfully.
24.04.05 14:29:42: root: INFO : Ollama available
24.04.05 14:29:44: root: INFO : Devika is up and running!
24.04.05 14:29:56: root: INFO : /api/data GET
24.04.05 14:29:56: root: DEBUG : /api/data GET - Response: {"models":{"CLAUDE":[["Claude 3 Opus","claude-3-opus-20240229"],["Claude 3 Sonnet","claude-3-sonnet-20240229"],["Claude 3 Haiku","claude-3-haiku-20240307"]],"GOOGLE":[["Gemini 1.0 Pro","gemini-pro"]],"GROQ":[["GROQ Mixtral","mixtral-8x7b-32768"],["GROQ LLAMA2 70B","llama2-70b-4096"],["GROQ GEMMA 7B IT","gemma-7b-it"]],"MISTRAL":[["Mistral 7b","open-mistral-7b"],["Mistral 8x7b","open-mixtral-8x7b"],["Mistral Medium","mistral-medium-latest"],["Mistral Small","mistral-small-latest"],["Mistral Large","mistral-large-latest"]],"OLLAMA":[["example","example:latest"],["gemma","gemma:latest"],["llama2","llama2:latest"],["mistral","mistral:latest"],["test","test:latest"]],"OPENAI":[["GPT-4 Turbo","gpt-4-0125-preview"],["GPT-3.5","gpt-3.5-turbo-0125"]]},"projects":["test"],"search_engines":["Bing","Google","DuckDuckGo"]}
24.04.05 14:29:56: root: INFO : SOCKET socket_response MESSAGE: {'data': 'Server Connected'}
24.04.05 14:29:56: root: INFO : /api/get-agent-state POST
24.04.05 14:29:56: root: DEBUG : /api/get-agent-state POST - Response: {"state":null}
24.04.05 14:29:59: root: INFO : /api/get-agent-state POST
24.04.05 14:29:59: root: DEBUG : /api/get-agent-state POST - Response: {"state":{"agent_is_active":true,"browser_session":{"screenshot":null,"url":null},"completed":false,"internal_monologue":null,"message":null,"step":null,"terminal_session":{"command":null,"output":null,"title":null},"timestamp":"2024-04-05 13:27:34","token_usage":378}}
24.04.05 14:30:02: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:02: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:02: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:02: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:13: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'hi', 'timestamp': '2024-04-05 14:30:13'}}
24.04.05 14:30:46: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:46: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:46: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:46: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:46: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:46: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:46: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:46: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:30:47: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:47: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":0}
24.04.05 14:30:49: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:49: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:49: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:49: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:49: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:49: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:49: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:49: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:30:49: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:49: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:49: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:49: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:30:49: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:49: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:30:49: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:49: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:30:49: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:49: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:30:50: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:50: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:30:51: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:51: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:30:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:30:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:30:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 14:30:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":7}
24.04.05 14:30:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:30:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:30:53: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'create a calculator in python', 'timestamp': '2024-04-05 14:30:53'}}
24.04.05 14:31:19: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:19: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:19: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:19: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:20: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:20: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:21: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:21: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:21: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:21: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:31:22: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:22: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:31:23: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:23: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 14:31:23: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:23: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":7}
24.04.05 14:31:23: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:23: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:31:23: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'create a calculator in python', 'timestamp': '2024-04-05 14:31:23'}}
24.04.05 14:31:36: root: INFO : /api/data GET
24.04.05 14:31:36: root: DEBUG : /api/data GET - Response: {"models":{"CLAUDE":[["Claude 3 Opus","claude-3-opus-20240229"],["Claude 3 Sonnet","claude-3-sonnet-20240229"],["Claude 3 Haiku","claude-3-haiku-20240307"]],"GOOGLE":[["Gemini 1.0 Pro","gemini-pro"]],"GROQ":[["GROQ Mixtral","mixtral-8x7b-32768"],["GROQ LLAMA2 70B","llama2-70b-4096"],["GROQ GEMMA 7B IT","gemma-7b-it"]],"MISTRAL":[["Mistral 7b","open-mistral-7b"],["Mistral 8x7b","open-mixtral-8x7b"],["Mistral Medium","mistral-medium-latest"],["Mistral Small","mistral-small-latest"],["Mistral Large","mistral-large-latest"]],"OLLAMA":[["example","example:latest"],["gemma","gemma:latest"],["llama2","llama2:latest"],["mistral","mistral:latest"],["test","test:latest"]],"OPENAI":[["GPT-4 Turbo","gpt-4-0125-preview"],["GPT-3.5","gpt-3.5-turbo-0125"]]},"projects":["test"],"search_engines":["Bing","Google","DuckDuckGo"]}
24.04.05 14:31:36: root: INFO : SOCKET socket_response MESSAGE: {'data': 'Server Connected'}
24.04.05 14:31:36: root: INFO : /api/get-agent-state POST
24.04.05 14:31:36: root: DEBUG : /api/get-agent-state POST - Response: {"state":null}
24.04.05 14:31:42: root: INFO : /api/get-agent-state POST
24.04.05 14:31:42: root: DEBUG : /api/get-agent-state POST - Response: {"state":{"agent_is_active":true,"browser_session":{"screenshot":null,"url":null},"completed":false,"internal_monologue":null,"message":null,"step":null,"terminal_session":{"command":null,"output":null,"title":null},"timestamp":"2024-04-05 13:27:34","token_usage":378}}
24.04.05 14:31:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:52: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:52: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:31:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":1}
24.04.05 14:31:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:31:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":2}
24.04.05 14:31:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:53: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:53: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:54: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:54: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:54: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:54: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:54: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:54: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:54: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:54: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:54: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:54: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:54: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:54: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:54: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:54: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:54: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:54: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:54: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:54: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":3}
24.04.05 14:31:54: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:54: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:55: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:55: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:55: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:55: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":4}
24.04.05 14:31:55: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:55: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:31:55: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:55: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:31:55: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:55: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:31:55: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:55: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:31:55: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:55: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":6}
24.04.05 14:31:55: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:55: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":7}
24.04.05 14:31:55: root: INFO : /api/calculate-tokens POST
24.04.05 14:31:55: root: DEBUG : /api/calculate-tokens POST - Response: {"token_usage":5}
24.04.05 14:31:56: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'create a calculator in python', 'timestamp': '2024-04-05 14:31:56'}}
@0PandaDEV can you share console from chrome dev tools
Make sure the api key "< >" symbols were removed and just the api code is in the " "
Other then that might have to start over a new project
I have also facing the same issue...
fixed. fetch the latest changes. for more read the changelog in discord.
Describe the bug I can not get it to run on Windows as well as on a M1 MacBook both with ollama and a random model I pulled it also does not work when trying to use DuckDuckGo, so the issue is not the Google search engine key.
To Reproduce Steps to reproduce the behavior:
Screenshots This is the startup message on macOS on Windows it looked the same
This is a screenshot shortly take after the prompt. Nothing happened, and there also were no prints in the console.
Windows machine:
macOS machine: