rippletide 1.0.11 → 1.0.12

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.
@@ -25,7 +25,6 @@ export function normalizeEndpoint(endpoint) {
25
25
  }
26
26
  export function generatePayloadVariants(question) {
27
27
  const variants = [];
28
- // Try chat format first (most common for modern APIs)
29
28
  variants.push({
30
29
  messages: [{ role: 'user', content: question }]
31
30
  });
@@ -50,7 +49,6 @@ export function generatePayloadVariants(question) {
50
49
  }
51
50
  export function buildCustomPayload(template, question) {
52
51
  try {
53
- // Support multiple placeholder formats
54
52
  let replaced = template
55
53
  .replace(/\[eval-question\]/g, question)
56
54
  .replace(/\{\{question\}\}/g, question)
@@ -35,7 +35,6 @@ export async function generateApiKey(name) {
35
35
  API_KEY = response.data.apiKey;
36
36
  logger.info('API key generated successfully');
37
37
  logger.debug('API Key:', API_KEY?.substring(0, 12) + '...');
38
- // Share API key with knowledge module
39
38
  const { setApiClient } = await import('./knowledge.js');
40
39
  setApiClient(client, API_KEY);
41
40
  return response.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rippletide",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Rippletide Evaluation CLI",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -35,7 +35,6 @@ export function normalizeEndpoint(endpoint: string): string {
35
35
  export function generatePayloadVariants(question: string): any[] {
36
36
  const variants = [];
37
37
 
38
- // Try chat format first (most common for modern APIs)
39
38
  variants.push({
40
39
  messages: [{ role: 'user', content: question }]
41
40
  });
@@ -68,7 +67,6 @@ export function generatePayloadVariants(question: string): any[] {
68
67
 
69
68
  export function buildCustomPayload(template: string, question: string): any {
70
69
  try {
71
- // Support multiple placeholder formats
72
70
  let replaced = template
73
71
  .replace(/\[eval-question\]/g, question)
74
72
  .replace(/\{\{question\}\}/g, question)
@@ -62,7 +62,6 @@ export async function generateApiKey(name?: string) {
62
62
  logger.info('API key generated successfully');
63
63
  logger.debug('API Key:', API_KEY?.substring(0, 12) + '...');
64
64
 
65
- // Share API key with knowledge module
66
65
  const { setApiClient } = await import('./knowledge.js');
67
66
  setApiClient(client, API_KEY);
68
67