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 = {
|
nix-your-shell = {
|
||||||
enable = true;
|
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 = {
|
rbw = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -31,10 +31,14 @@
|
||||||
|
|
||||||
homebrew = {
|
homebrew = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
brews = [
|
||||||
|
"ollama"
|
||||||
|
];
|
||||||
casks = [
|
casks = [
|
||||||
"tidal"
|
"tidal"
|
||||||
"orion"
|
"orion"
|
||||||
"webex"
|
"webex"
|
||||||
|
"ollama-app"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue