@axiom-lattice/examples-deep_research 1.0.61 → 1.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -90,7 +90,7 @@ registerModelLattice(
90
90
  provider: "openai",
91
91
  streaming: true,
92
92
  apiKeyEnvName: "API_KEY3",
93
- baseURL: "https://dashscope.aliyuncs.com/compatible-mode/v1",
93
+ baseURL: "https://llm.alphafina.cn/v1",
94
94
  modelKwargs: {
95
95
  "enable_thinking": false
96
96
  }
@@ -105,7 +105,7 @@ registerModelLattice(
105
105
  provider: "openai",
106
106
  streaming: true,
107
107
  apiKeyEnvName: "API_KEY3",
108
- baseURL: "https://dashscope.aliyuncs.com/compatible-mode/v1",
108
+ baseURL: "https://llm.alphafina.cn/v1",
109
109
  }
110
110
  );
111
111
  registerModelLattice(
@@ -343,6 +343,11 @@ async function main() {
343
343
  loggerName: "lattice/deep_research",
344
344
  };
345
345
 
346
+ // Configure Swagger/OpenAPI documentation
347
+ await LatticeGateway.configureSwagger(LatticeGateway.app);
348
+ console.log(`📚 Swagger UI available at: http://localhost:${port}/api-docs`);
349
+ console.log(`📄 OpenAPI JSON available at: http://localhost:${port}/api-docs/json\n`);
350
+
346
351
  // Start the gateway
347
352
  LatticeGateway.startAsHttpEndpoint({
348
353
  port,