File tree Expand file tree Collapse file tree 6 files changed +1057
-11
lines changed
app/api/v1/chat/completions Expand file tree Collapse file tree 6 files changed +1057
-11
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ OPENAI_API_KEY=dummy_openai_key
55ANTHROPIC_API_KEY = dummy_anthropic_key
66FIREWORKS_API_KEY = dummy_fireworks_key
77CANOPYWAVE_API_KEY = dummy_canopywave_key
8+ SILICONFLOW_API_KEY = dummy_siliconflow_key
89
910# Database & Server
1011DATABASE_URL = postgresql://manicode_user_local:secretpassword_local@localhost:5432/manicode_db_local
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ export function createBase2(
3030 publisher,
3131 model : isFree ? 'minimax/minimax-m2.5' : 'anthropic/claude-opus-4.6' ,
3232 providerOptions : isFree ? {
33+ only : [ 'siliconflow/fp8' ] ,
3334 data_collection : 'deny' ,
3435 } : {
3536 only : [ 'amazon-bedrock' ] ,
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export const serverEnvSchema = clientEnvSchema.extend({
88 ANTHROPIC_API_KEY : z . string ( ) . min ( 1 ) ,
99 FIREWORKS_API_KEY : z . string ( ) . min ( 1 ) ,
1010 CANOPYWAVE_API_KEY : z . string ( ) . min ( 1 ) . optional ( ) ,
11+ SILICONFLOW_API_KEY : z . string ( ) . min ( 1 ) . optional ( ) ,
1112 LINKUP_API_KEY : z . string ( ) . min ( 1 ) ,
1213 CONTEXT7_API_KEY : z . string ( ) . optional ( ) ,
1314 GRAVITY_API_KEY : z . string ( ) . min ( 1 ) ,
@@ -52,6 +53,7 @@ export const serverProcessEnv: ServerInput = {
5253 ANTHROPIC_API_KEY : process . env . ANTHROPIC_API_KEY ,
5354 FIREWORKS_API_KEY : process . env . FIREWORKS_API_KEY ,
5455 CANOPYWAVE_API_KEY : process . env . CANOPYWAVE_API_KEY ,
56+ SILICONFLOW_API_KEY : process . env . SILICONFLOW_API_KEY ,
5557 LINKUP_API_KEY : process . env . LINKUP_API_KEY ,
5658 CONTEXT7_API_KEY : process . env . CONTEXT7_API_KEY ,
5759 GRAVITY_API_KEY : process . env . GRAVITY_API_KEY ,
You can’t perform that action at this time.
0 commit comments