File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,4 +17,6 @@ export enum AskCodebaseErrorCode {
1717 E10007 = 10007 ,
1818 /** Can't get google user by access token */
1919 E10008 = 10008 ,
20+ /** Environment variable not set */
21+ E10009 = 10009 ,
2022}
Original file line number Diff line number Diff line change 1+ import { AskCodebaseError } from "./AskCodebaseError" ;
2+ import { AskCodebaseErrorCode } from "./AskCodebaseErrorCode" ;
3+
4+ export class ErrorEnvVariable extends AskCodebaseError {
5+ public static code = AskCodebaseErrorCode . E10009 ;
6+
7+ constructor ( message : string = "Environment variable not set" ) {
8+ super ( ErrorEnvVariable . code , message ) ;
9+ }
10+ }
Original file line number Diff line number Diff line change 1+ export type ChatRequest = {
2+ project_id : string ;
3+ message : string ;
4+ } ;
Original file line number Diff line number Diff line change 1- export * from './IUser'
2- export * from './JsonResp'
1+ export * from "./IUser" ;
2+ export * from "./JsonResp" ;
3+ export * from "./ReqParams" ;
You can’t perform that action at this time.
0 commit comments