Skip to content

Add Basic_Code_Review example to README#1218

Open
kkorpal wants to merge 2 commits into
mainfrom
kkorpal-patch-2
Open

Add Basic_Code_Review example to README#1218
kkorpal wants to merge 2 commits into
mainfrom
kkorpal-patch-2

Conversation

@kkorpal
Copy link
Copy Markdown
Collaborator

@kkorpal kkorpal commented May 6, 2026

No description provided.

@github-actions github-actions Bot added status:awaiting review PR awaiting review from a maintainer component:examples Issues/PR referencing examples folder labels May 6, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the documentation to include a new example notebook that demonstrates how to utilize Gemini for code review tasks, including providing feedback, debugging, and optimization suggestions.

Highlights

  • Documentation Update: Added the Basic_Code_Review.ipynb notebook to the list of available prompting examples in the README.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a reference to the Basic_Code_Review.ipynb notebook in the prompting examples README. Feedback was provided to correct the list item formatting, specifically removing double bullet points and ensuring the list remains alphabetical. Additionally, a trailing whitespace issue was identified on a blank line.

Comment thread examples/prompting/README.md Outdated
* **[`Self_ask_prompting.ipynb`](./Self_ask_prompting.ipynb):** Demonstrates a technique where the model asks itself questions to help answer the query.

* * **[`Basic_Code_Review.ipynb`](./Basic_Code_Review.ipynb):** Demonstrates using Gemini for code review (feedback, debugging, and optimization suggestions).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This line contains trailing whitespace. It should be a completely empty line to maintain cleanliness and consistency.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This line contains trailing whitespace. It should be a completely empty line to maintain cleanliness and consistency.

Trans for confirming

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 confing for connect to internet iran
V2RAY-ssh-

(Iran no internet)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 confing for connect to internet iran
V2RAY-ssh-

(Iran no internet)

Copy link
Copy Markdown

@GladiatorIR GladiatorIR May 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 confing for connect to internet iran
V2RAY-ssh-

(Iran no internet)
فقط افراد ثروتمند میتونن کانفینگ خوب خریداری کنم و به اینترنت بین‌الملل متصل بشن
لطفاً کانفینگی بده که بهترین عملکرد و داشته باشه و متصل بشم الان زیاد هست اما متصل نمیشن
یک نمونه از کانفینگ بهت میدم
Example confing::{
"dns": {
"hosts": {
"domain:googleapis.cn": "googleapis.com",
"dns.alidns.com": [
"223.5.5.5",
"223.6.6.6",
"2400:3200::1",
"2400:3200:baba::1"
],
"one.one.one.one": [
"1.1.1.1",
"1.0.0.1",
"2606:4700:4700::1111",
"2606:4700:4700::1001"
],
"dns.cloudflare.com": [
"104.16.132.229",
"104.16.133.229",
"2606:4700::6810:84e5",
"2606:4700::6810:85e5"
],
"cloudflare-dns.com": [
"104.16.248.249",
"104.16.249.249",
"2606:4700::6810:f8f9",
"2606:4700::6810:f9f9"
],
"dot.pub": [
"1.12.12.12",
"120.53.53.53"
],
"dns.google": [
"8.8.8.8",
"8.8.4.4",
"2001:4860:4860::8888",
"2001:4860:4860::8844"
],
"dns.quad9.net": [
"9.9.9.9",
"149.112.112.112",
"2620:fe::fe",
"2620:fe::9"
],
"common.dot.dns.yandex.net": [
"77.88.8.8",
"77.88.8.1",
"2a02:6b8::feed:0ff",
"2a02:6b8:0:1::feed:0ff"
]
},
"servers": [
"1.1.1.1"
]
},
"inbounds": [
{
"port": 10808,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"userLevel": 8
},
"sniffing": {
"destOverride": [
"http",
"tls"
],
"enabled": true,
"routeOnly": true
},
"tag": "socks"
}
],
"log": {
"loglevel": "warning"
},
"outbounds": [
{
"mux": {
"concurrency": 8,
"enabled": true,
"xudpConcurrency": 8,
"xudpProxyUDP443": "skip"
},
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "141.94.155.228",
"port": 443,
"users": [
{
"id": "03fcc618-b93d-6796-6aed-8a38c975d581",
"level": 8,
"security": "auto"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"sockopt": {
"TcpNoDelay": true,
"dialerProxy": "fragment"
},
"tlsSettings": {
"allowInsecure": true,
"serverName": "kampong.org",
"show": false
},
"wsSettings": {
"headers": {
"Host": "kampong.org"
},
"path": "linkvws"
}
},
"tag": "proxy"
},
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
},
"tag": "block"
},
{
"protocol": "freedom",
"settings": {
"fragment": {
"interval": "10-100",
"isEnabled": true,
"length": "80-250",
"packets": "1-3"
},
"userLevel": 8
},
"streamSettings": {
"network": "tcp",
"sockopt": {
"TcpNoDelay": true
}
},
"tag": "fragment"
}
],
"policy": {
"levels": {
"8": {
"connIdle": 300,
"downlinkOnly": 1,
"handshake": 4,
"uplinkOnly": 1
}
},
"system": {
"statsOutboundUplink": true,
"statsOutboundDownlink": true
}
},
"remarks": "Telegram:@config_proxy 🔥",
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"ip": [
"8.8.8.8"
],
"outboundTag": "direct",
"port": "53",
"type": "field"
},
{
"ip": [
"1.1.1.1"
],
"outboundTag": "proxy",
"port": "53",
"type": "field"
},
{
"ip": [
"223.5.5.5"
],
"outboundTag": "direct",
"port": "53",
"type": "field"
}
]
},
"stats": {}
} البته این خیلی بده از اینها هست متصل نمیشن
به زبان josn language

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@kkorpal kkorpal requested a review from Giom-V May 6, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:examples Issues/PR referencing examples folder status:awaiting review PR awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants