Add AI tools
This commit is contained in:
parent
a78b2b9cf7
commit
9b80f3716a
2 changed files with 38 additions and 0 deletions
|
@ -58,6 +58,40 @@
|
|||
nix-your-shell = {
|
||||
enable = true;
|
||||
};
|
||||
codex = {
|
||||
enable = true;
|
||||
settings = {
|
||||
model = "qwen2.5-coder";
|
||||
provider = "ollama";
|
||||
providers = {
|
||||
ollama = {
|
||||
name = "Ollama";
|
||||
baseURL = "http://localhost:11434/v1";
|
||||
envKey = "OLLAMA_API_KEY";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
aichat = {
|
||||
enable = true;
|
||||
settings = {
|
||||
model = "ollama:qwen2.5-coder:latest";
|
||||
clients = [
|
||||
{
|
||||
type = "openai-compatible";
|
||||
name = "ollama";
|
||||
api_base = "http://localhost:11434/v1";
|
||||
models = [
|
||||
{
|
||||
name = "qwen2.5-coder:latest";
|
||||
supports_function_calling = true;
|
||||
supports_vision = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
rbw = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
@ -31,10 +31,14 @@
|
|||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
brews = [
|
||||
"ollama"
|
||||
];
|
||||
casks = [
|
||||
"tidal"
|
||||
"orion"
|
||||
"webex"
|
||||
"ollama-app"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue