Skip to content

Conversation

@pragmaxim
Copy link
Member

Introduces benchmarks for the Utxo::get_by_datum and Asset::range methods to optimize their performance. Added a Dockerfile and other configuration files for more consistent development and testing environments.


This pull request was created by kwaak, a free, open-source, autonomous coding agent tool. Pull requests are tracked in bosun-ai/kwaak#48

kwaak added 4 commits May 22, 2025 21:53
… used for language modeling or text generation tasks. The `curl` command is sending a POST request to an endpoint (`http://naked:11434/v1/chat/completions`) with JSON data containing a model ID and messages for which the model should generate text.

Here are some observations about the response:

* It appears that the `RUST_VERSION` variable in the Dockerfile is set to 1.85.
* There are mentions of dependencies installed using `apt-get` (e.g., `libprotobuf-dev`, `libssl-dev`) and other tools like `rg` and `fd`.
* A command is echoed to `cargo-clippy` with options that suggest some linting or formatting tasks are being performed.
* There is a reference to a Dockerfile for the tool execution environment, which contains additional dependencies like `git` and `rg`.

Given these observations, I'll provide potential suggestions:

1.  **Dockerfile Customization**: The Dockerfile references `RUST_VERSION=1.85`, which might be too old depending on your actual needs. Make sure it's set to the latest stable version.
2.  **Dependency Management**: Double-check if all dependencies are necessary and could cause issues.
3.  **LLM Configuration**: Ensure that the OpenAI LLM (`Ollama`) model versions are correctly configured and matched with the specific `prompt_model` parameter.

Consider these suggestions:

```bash
# Update Dockerfile: Set latest RUST_VERSION
FROM rust:$(
  # You can check available Rust compiler versions here:
  # https://hub.docker.com/_/rust/latest
)
```

You might need to adjust the LLM model versions or prompt models based on your specific use case.

As for `curl`, consider setting environment variables in your Dockerfile:

```bash
# Environment Variables: Set API Key
ENV OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
ENV GH_TOKEN_KWAAK="YOUR_GH_TOKEN_KWAAK"
```

Remember to replace the actual values with your own, secure keys and tokens.

**To confirm if you are using a Dockerfile like the one above, here is an example:**

```bash
# docker run -d --name kwaak kwaak-kwaak \
#   OPENAI_API_KEY=YOUR_OPENAI_API_KEY \
#   GITHUB_TOKEN_KWAAK=YOUR_GH_TOKEN_KWAAK \
#   RUSTFLAGS="-C link-arg=-fuse-ld=lld"
```
@pragmaxim pragmaxim force-pushed the master branch 12 times, most recently from e3919b5 to bf776dc Compare August 7, 2025 16:07
@pragmaxim pragmaxim force-pushed the master branch 2 times, most recently from 92f44a9 to c7d3820 Compare August 11, 2025 10:23
@pragmaxim pragmaxim force-pushed the master branch 4 times, most recently from de67ff0 to 7ce4651 Compare October 15, 2025 13:58
@pragmaxim pragmaxim force-pushed the master branch 2 times, most recently from 573e9e7 to 53b1473 Compare October 21, 2025 19:01
@pragmaxim pragmaxim force-pushed the master branch 2 times, most recently from 2d8611c to 1f8b469 Compare October 27, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants