keyring-agent-core 0.4.14 → 0.4.16

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.
package/README.md CHANGED
@@ -65,7 +65,7 @@ class FaqTool extends BaseTool {
65
65
  const agent = new AgentCore({
66
66
  llm: {
67
67
  apiKey: process.env.GEMINI_API_KEY!,
68
- model: 'gemini-2.5-flash',
68
+ model: 'gemini-3.5-flash-lite',
69
69
  },
70
70
  maxIterations: 8,
71
71
  maxHistoryMessages: 40,
@@ -150,9 +150,9 @@ agent.restoreHistory(saved);
150
150
  secretKey?: string; // required unless llm.apiKey is set
151
151
  llm: {
152
152
  apiKey?: string; // your own Gemini key → calls Google directly
153
- model?: string; // default: 'gemini-2.5-flash'
153
+ model?: string; // default: 'gemini-3.5-flash-lite'
154
154
  maxTokens?: number; // default: 4096
155
- temperature?: number; // default: 0.7
155
+ thinkingLevel?: 'minimal' | 'low' | 'medium' | 'high' | null; // default: 'minimal'
156
156
  baseUrl?: string; // override the endpoint
157
157
  };
158
158
  maxIterations?: number; // default: 10
@@ -164,10 +164,10 @@ agent.restoreHistory(saved);
164
164
 
165
165
  ### LLM access: two modes
166
166
 
167
- | Mode | Config | Endpoint |
168
- | ---------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
169
- | **Bring your own key** | `llm.apiKey` set | `https://generativelanguage.googleapis.com` — called directly with your key. `secretKey` is not required. |
170
- | **Keyring proxy** | no `llm.apiKey` | `https://nft.keyring.app/api/gemini-stable` — we authenticate for you. Requires a valid `secretKey`; the first `chat()` throws otherwise. |
167
+ | Mode | Config | Endpoint |
168
+ | ---------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
169
+ | **Bring your own key** | `llm.apiKey` set | `https://generativelanguage.googleapis.com` — called directly with your key. `secretKey` is not required. |
170
+ | **Keyring proxy** | no `llm.apiKey` | `https://nft.keyring.app/api/gemini-stable-v2` — we authenticate for you. Requires a valid `secretKey`; the first `chat()` throws otherwise. |
171
171
 
172
172
  `llm.baseUrl` overrides the endpoint in either mode.
173
173