@aj-archipelago/cortex 1.0.15 → 1.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aj-archipelago/cortex",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Cortex is a GraphQL API for AI. It provides a simple, extensible interface for using AI services from OpenAI, Azure and others.",
5
5
  "repository": {
6
6
  "type": "git",
package/server/graphql.js CHANGED
@@ -144,6 +144,7 @@ const build = async (config) => {
144
144
 
145
145
  const server = new ApolloServer({
146
146
  schema,
147
+ introspection: process.env.NODE_ENV === 'development',
147
148
  csrfPrevention: true,
148
149
  plugins: plugins.concat([// Proper shutdown for the HTTP server.
149
150
  ApolloServerPluginDrainHttpServer({ httpServer }),