api urls env, confifs
This commit is contained in:
parent
1d455aaba2
commit
e5f91cb4f8
19
.env
19
.env
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
TTS_BACKEND_URL=http://192.168.0.10:9008/asr
|
TTS_BACKEND_URL=http://192.168.0.10:9009/asr
|
||||||
#TTS_BACKEND_URL=http://localhost:9001/asr #gpu 9002-cpu
|
#TTS_BACKEND_URL=http://localhost:9001/asr #gpu 9002-cpu
|
||||||
TTS_BACKEND_URL2=http://localhost:9002/asr
|
TTS_BACKEND_URL2=http://localhost:9002/asr
|
||||||
TTS_BACKEND_URL3=http://192.168.0.10:9008/asr #gpu
|
TTS_BACKEND_URL3=http://192.168.0.10:9008/asr #gpu
|
||||||
@ -11,10 +11,17 @@ SERVER_PORT_HTTP=3005
|
|||||||
|
|
||||||
# aider
|
# aider
|
||||||
AIDER_MODEL=
|
AIDER_MODEL=
|
||||||
AIDER_4=
|
AIDER_4=false
|
||||||
AIDER_35TURBO=
|
#AIDER_35TURBO=
|
||||||
|
|
||||||
# OPENAI_API_KEY=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
|
# OPENAI_API_KEY=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
|
||||||
OPENAI_API_BASE=https://api.deepseek.com/v1
|
# OPENAI_API_BASE=https://api.deepseek.com/v1
|
||||||
OPENAI_API_KEY=sk-99df7736351f4536bd72cd64a416318a
|
# OPENAI_API_KEY=sk-99df7736351f4536bd72cd64a416318a
|
||||||
AIDER_MODEL=deepseek-coder #deepseek-coder, deepseek-chat
|
# AIDER_MODEL=deepseek-coder #deepseek-coder, deepseek-chat
|
||||||
|
|
||||||
|
|
||||||
|
GROQ_API_KEY=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
|
||||||
|
aider --model groq/llama3-70b-8192
|
||||||
|
|
||||||
|
# List models available from Groq
|
||||||
|
aider --models groq/
|
5
.vscode/launch.json
vendored
5
.vscode/launch.json
vendored
@ -47,11 +47,12 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${file}",
|
"program": "${file}",
|
||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"python": "${command:python.interpreterPath}",
|
//"python": "${command:python.interpreterPath}",
|
||||||
|
"python": "/config/miniconda3/envs/py/bin/python",
|
||||||
"presentation": {
|
"presentation": {
|
||||||
"clear": true
|
"clear": true
|
||||||
},
|
},
|
||||||
"preLaunchTask": "conda-activate" // Name of your pre-launch task
|
//"preLaunchTask": "conda-activate" // Name of your pre-launch task
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
11
_doc/aider.md
Normal file
11
_doc/aider.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
python -m pip install git+https://github.com/d-popov/aider.git
|
||||||
|
|
||||||
|
|
||||||
|
export GROQ_API_KEY=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
|
||||||
|
aider --models groq/
|
||||||
|
aider --model groq/llama3-70b-8192 --no-auto-commits
|
||||||
|
|
||||||
|
|
||||||
|
#@ OLLAMA
|
||||||
|
export OPENAI_API_BASE=https://ollama.d-popov.com
|
||||||
|
aider --openai-api-base https://ollama.d-popov.com --openai-api-key ol-ddddd --models openai/
|
@ -15,7 +15,7 @@ interpreter --api_base http://192.168.0.11:11434/v1 --api_key "" --model openai/
|
|||||||
interpreter --api_base http://192.168.0.137:1234/v1 --api_key "" --model openai/local
|
interpreter --api_base http://192.168.0.137:1234/v1 --api_key "" --model openai/local
|
||||||
192.168.0.137
|
192.168.0.137
|
||||||
|
|
||||||
|
GROQ_API_KEY
|
||||||
# ################################ GROQ ########################## working
|
# ################################ GROQ ########################## working
|
||||||
export OPENAI_API_KEY=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
|
export OPENAI_API_KEY=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
|
||||||
interpreter -y --api_base https://api.groq.com/openai/v1 --model llama2-70b-4096 ## mixtral-8x7b-32768 # gemma-7b-it # llama2-70b-4096
|
interpreter -y --api_base https://api.groq.com/openai/v1 --model llama2-70b-4096 ## mixtral-8x7b-32768 # gemma-7b-it # llama2-70b-4096
|
||||||
|
Loading…
x
Reference in New Issue
Block a user