File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 2626 required : false
2727 type : string
2828 default : " gpt-4"
29+ LLM_PROVIDER :
30+ description : " LLM provider to use for deployment"
31+ required : false
32+ type : string
33+ default : " openai"
2934
3035jobs :
3136 build-and-test-client :
5358 MONGO_DB_URL : ${{ secrets.MONGO_DB_URL }}
5459 MONGODB_DATABASE : ${{ secrets.MONGODB_DATABASE }}
5560 JWT_SECRET : ${{ secrets.JWT_SECRET }}
56- LLM_PROVIDER : ${{ secrets.LLM_PROVIDER }}
5761 OPENAI_BASE_URL : ${{ secrets.OPENAI_BASE_URL }}
5862 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
5963 with :
6064 OPENAI_MODEL : ${{ vars.OPENAI_MODEL }}
65+ LLM_PROVIDER : ${{ vars.LLM_PROVIDER }}
Original file line number Diff line number Diff line change 88 required : false
99 type : string
1010 default : " gpt-4o"
11+ LLM_PROVIDER :
12+ required : false
13+ type : string
14+ default : " openai"
1115 secrets :
1216 KUBECONFIG :
1317 required : true
1721 required : true
1822 JWT_SECRET :
1923 required : true
20- LLM_PROVIDER :
21- required : true
2224 OPENAI_BASE_URL :
2325 required : true
2426 OPENAI_API_KEY :
7173 --set secrets.mongo-db-url="${{ secrets.MONGO_DB_URL }}" \
7274 --set secrets.mongodb-database="${{ secrets.MONGODB_DATABASE }}" \
7375 --set secrets.jwt-secret="${{ secrets.JWT_SECRET }}" \
74- --set secrets.llm-provider="${{ secrets .LLM_PROVIDER }}" \
76+ --set secrets.llm-provider="${{ inputs .LLM_PROVIDER }}" \
7577 --set secrets.openai-base-url="${{ secrets.OPENAI_BASE_URL }}" \
7678 --set secrets.openai-api-key="${{ secrets.OPENAI_API_KEY }}" \
7779 --set secrets.openai-model="${{ inputs.OPENAI_MODEL }}" \
You can’t perform that action at this time.
0 commit comments