mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
- Updates CONTRIBUTING.md and Tips.tsx to remove references to GEMINI.md and the /init command, and renumbers tips.
- Fixes a typo in Tips.tsx ("information.s" -> "information.").
- Refactors the core system prompt in prompts.ts from a constant string to a function .
- Updates client.ts to call the function.
- Updates tool name references within the system prompt to use template literals for dynamic naming.
Fixes bug: https://buganizer.corp.google.com/issues/413061073
---
Generated by yours truly __Gemini Code__
27 lines
713 B
TypeScript
27 lines
713 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import React from 'react';
|
|
import { Box, Text } from 'ink';
|
|
import { Colors } from '../colors.js';
|
|
|
|
export const Tips: React.FC = () => (
|
|
<Box flexDirection="column" marginBottom={1}>
|
|
<Text color={Colors.Foreground}>Tips for getting started:</Text>
|
|
<Text color={Colors.Foreground}>
|
|
1.{' '}
|
|
<Text bold color={Colors.AccentPurple}>
|
|
/help
|
|
</Text>{' '}
|
|
for more information.
|
|
</Text>
|
|
<Text color={Colors.Foreground}>
|
|
2. Ask coding questions, edit code or run commands.
|
|
</Text>
|
|
<Text color={Colors.Foreground}>3. Be specific for the best results.</Text>
|
|
</Box>
|
|
);
|