v0.1.13 - Expose cashu_wallet_mints_get in tool schema so configured mints can be queried
This commit is contained in:
@@ -55,11 +55,11 @@ Skills compose by adoption-list order (`10123`) and trigger tags carry runtime e
|
||||
|
||||
Didactyl will support local inference, which is very privacy preserving. Remote inference does however have it's advantages, and in those cases Didactyl supports using Bitcoin Lightning and eCash inference providers.
|
||||
|
||||
## Current Status — v0.1.12
|
||||
## Current Status — v0.1.13
|
||||
|
||||
**Active build — this project is barely working. Experiment at your own risk.**
|
||||
|
||||
> Last release update: v0.1.12 — Add /tool -h help shorthand and enrich core tool parameter descriptions
|
||||
> Last release update: v0.1.13 — Expose cashu_wallet_mints_get in tool schema so configured mints can be queried
|
||||
|
||||
- Connects to configured relays with auto-reconnect and relay state transition logging
|
||||
- Publishes configured startup events per relay as each relay becomes connected
|
||||
|
||||
+2
-2
@@ -12,8 +12,8 @@
|
||||
// Using DIDACTYL_ prefix to avoid conflicts with nostr_core_lib VERSION macros
|
||||
#define DIDACTYL_VERSION_MAJOR 0
|
||||
#define DIDACTYL_VERSION_MINOR 1
|
||||
#define DIDACTYL_VERSION_PATCH 12
|
||||
#define DIDACTYL_VERSION "v0.1.12"
|
||||
#define DIDACTYL_VERSION_PATCH 13
|
||||
#define DIDACTYL_VERSION "v0.1.13"
|
||||
|
||||
// Agent metadata
|
||||
#define DIDACTYL_NAME "Didactyl"
|
||||
|
||||
@@ -1891,6 +1891,23 @@ char* tools_build_openai_schema_json_legacy(const tools_context_t* ctx) {
|
||||
cJSON_AddItemToObject(t61, "function", t61_fn);
|
||||
cJSON_AddItemToArray(tools, t61);
|
||||
|
||||
cJSON* t62 = cJSON_CreateObject();
|
||||
cJSON* t62_fn = cJSON_CreateObject();
|
||||
cJSON* t62_params = cJSON_CreateObject();
|
||||
cJSON* t62_props = cJSON_CreateObject();
|
||||
cJSON* t62_required = cJSON_CreateArray();
|
||||
|
||||
cJSON_AddStringToObject(t62, "type", "function");
|
||||
cJSON_AddStringToObject(t62_fn, "name", "cashu_wallet_mints_get");
|
||||
cJSON_AddStringToObject(t62_fn, "description", "Get currently configured wallet and public mints");
|
||||
cJSON_AddStringToObject(t62_params, "type", "object");
|
||||
cJSON_AddItemToObject(t62_params, "properties", t62_props);
|
||||
cJSON_AddItemToObject(t62_params, "required", t62_required);
|
||||
|
||||
cJSON_AddItemToObject(t62_fn, "parameters", t62_params);
|
||||
cJSON_AddItemToObject(t62, "function", t62_fn);
|
||||
cJSON_AddItemToArray(tools, t62);
|
||||
|
||||
char* out = cJSON_PrintUnformatted(tools);
|
||||
cJSON_Delete(tools);
|
||||
return out;
|
||||
|
||||
Reference in New Issue
Block a user