Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/src/gemini.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ export async function main() {
),
);
}
// We intentially omit the list of extensions here because extensions
// We intentionally omit the list of extensions here because extensions
// should not impact auth or setting up the sandbox.
// TODO(jacobr): refactor loadCliConfig so there is a minimal version
// that only initializes enough config to enable refreshAuth or find
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/ui/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { type ReactNode } from 'react';
export type { ThoughtSummary };

export enum AuthState {
// Attemtping to authenticate or re-authenticate
// Attempting to authenticate or re-authenticate
Unauthenticated = 'unauthenticated',
// Auth dialog is open for user to select auth method
Updating = 'updating',
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/test-utils/mock-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export class MockModifiableTool
extends BaseDeclarativeTool<Record<string, unknown>, ToolResult>
implements ModifiableDeclarativeTool<Record<string, unknown>>
{
// Should be overrided in test file. Functionality will be updated in follow
// Should be overridden in test file. Functionality will be updated in follow
// up PR which has MockModifiableTool expect MockTool
executeFn: (params: Record<string, unknown>) => ToolResult | undefined = () =>
undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public static void runSetPermissionModeExample(Session session) {
public static void runPromptUseLowLevelEventExample(Session session) {
try {
session.setPermissionMode(PermissionMode.YOLO);
session.sendPrompt("devlop Fibonacci function by python", new SessionEventSimpleConsumers() {
session.sendPrompt("develop Fibonacci function by python", new SessionEventSimpleConsumers() {
@Override
public void onAssistantMessage(Session session, SDKAssistantMessage assistantMessage) {
logger.info("Received assistantMessage {}", JSON.toJSONString(assistantMessage));
Expand Down Expand Up @@ -212,7 +212,7 @@ public void onSystemMessage(Session session, SDKSystemMessage systemMessage) {

public static void runPromptUseHighLevelEventExample(Session session) {
try {
session.sendPrompt("devlop Fibonacci function by python", new SessionEventSimpleConsumers().setAssistantContentConsumer(new AssistantContentSimpleConsumers(){
session.sendPrompt("develop Fibonacci function by python", new SessionEventSimpleConsumers().setAssistantContentConsumer(new AssistantContentSimpleConsumers(){
@Override
public void onText(Session session, TextAssistantContent textAssistantContent) {
logger.info("Received textAssistantContent {}", textAssistantContent.getText());
Expand Down
Loading