File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ export const POST = withUnkey(
192192 repo : assistantDefinition . repo || null ,
193193 verified : false ,
194194 chainIds :
195- assistantDefinition . chainIds ?. map ( ( cid ) => cid . toString ( ) ) || [ ] ,
195+ assistantDefinition . chainIds ?. map ( ( cid ) => cid . toString ( ) . toLowerCase ( ) ) || [ ] ,
196196 tools : pluginTools . map ( ( t ) => t . id ) ,
197197 primitives :
198198 assistantDefinition . tools
@@ -335,7 +335,7 @@ export const PUT = withUnkey(
335335 assistantDefinition . instructions || plugin . info . description || "" ,
336336 image : assistantDefinition . image || null ,
337337 chainIds :
338- assistantDefinition . chainIds ?. map ( ( cid ) => cid . toString ( ) ) || [ ] ,
338+ assistantDefinition . chainIds ?. map ( ( cid ) => cid . toString ( ) . toLowerCase ( ) ) || [ ] ,
339339 tools : pluginTools . map ( ( t ) => t . id ) ,
340340 primitives :
341341 assistantDefinition . tools
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export enum BittePrimitiveName {
77 GET_TOKEN_METADATA = 'getTokenMetadata' ,
88 GENERATE_EVM_TX = 'generate-evm-tx' ,
99 GENERATE_SUI_TX = 'generate-sui-tx' ,
10+ GENERATE_SOL_TX = 'generate-sol-tx' ,
1011 RENDER_CHART = 'render-chart' ,
1112 SIGN_MESSAGE = 'sign-message' ,
1213 GET_PORTFOLIO = 'get-portfolio' ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export const COLLECTIONS = {
1515export const BittePrimitiveNames = [
1616 "create-drop" ,
1717 "generate-evm-tx" ,
18+ "generate-sol-tx" ,
1819 "generate-image" ,
1920 "generate-transaction" ,
2021 "getSwapTransactions" ,
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export type BitteAgentBase = {
6363 instructions : string ;
6464 tools ?: BitteToolSpec [ ] ;
6565 image ?: string ;
66- chainIds ?: number [ ] ;
66+ chainIds ?: string [ ] ;
6767 categories ?: string [ ] ;
6868 repo ?: string ;
6969} ;
You can’t perform that action at this time.
0 commit comments