mirror of
				https://github.com/microsoft/autogen.git
				synced 2025-10-31 09:50:11 +00:00 
			
		
		
		
	 0e985d4b40
			
		
	
	
		0e985d4b40
		
			
		
	
	
	
	
		
			
			* add skeleton worflow manager * add test notebook * update test nb * add sample team spec * refactor requirements to agentchat and ext * add base provider to return agentchat agents from json spec * initial api refactor, update dbmanager * api refactor * refactor tests * ags api tutorial update * ui refactor * general refactor * minor refactor updates * backend api refaactor * ui refactor and update * implement v1 for streaming connection with ui updates * backend refactor * ui refactor * minor ui tweak * minor refactor and tweaks * general refactor * update tests * sync uv.lock with main * uv lock update
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import type { GatsbyConfig } from "gatsby";
 | |
| import fs from "fs";
 | |
| 
 | |
| const envFile = `.env.${process.env.NODE_ENV}`;
 | |
| 
 | |
| fs.access(envFile, fs.constants.F_OK, (err) => {
 | |
|   if (err) {
 | |
|     console.warn(`File '${envFile}' is missing. Using default values.`);
 | |
|   }
 | |
| });
 | |
| 
 | |
| require("dotenv").config({
 | |
|   path: envFile,
 | |
| });
 | |
| 
 | |
| const config: GatsbyConfig = {
 | |
|   pathPrefix: process.env.PREFIX_PATH_VALUE || "",
 | |
|   siteMetadata: {
 | |
|     title: `AutoGen Studio [Beta]`,
 | |
|     description: `Build Multi-Agent Apps`,
 | |
|     siteUrl: `http://tbd.place`,
 | |
|   },
 | |
|   // More easily incorporate content into your pages through automatic TypeScript type generation and better GraphQL IntelliSense.
 | |
|   // If you use VSCode you can also use the GraphQL plugin
 | |
|   // Learn more at: https://gatsby.dev/graphql-typegen
 | |
|   graphqlTypegen: true,
 | |
|   plugins: [
 | |
|     "gatsby-plugin-postcss",
 | |
|     "gatsby-plugin-image",
 | |
|     "gatsby-plugin-sitemap",
 | |
|     {
 | |
|       resolve: "gatsby-plugin-manifest",
 | |
|       options: {
 | |
|         icon: "src/images/icon.png",
 | |
|       },
 | |
|     },
 | |
|     "gatsby-plugin-mdx",
 | |
|     "gatsby-plugin-sharp",
 | |
|     "gatsby-transformer-sharp",
 | |
|     {
 | |
|       resolve: "gatsby-source-filesystem",
 | |
|       options: {
 | |
|         name: "images",
 | |
|         path: "./src/images/",
 | |
|       },
 | |
|       __key: "images",
 | |
|     },
 | |
|     {
 | |
|       resolve: "gatsby-source-filesystem",
 | |
|       options: {
 | |
|         name: "pages",
 | |
|         path: "./src/pages/",
 | |
|       },
 | |
|       __key: "pages",
 | |
|     },
 | |
|   ],
 | |
| };
 | |
| 
 | |
| export default config;
 |