JesseRWeigel / JesseRWeigel/github-chatGPT-plugin

Fix list_files

オープン
#2 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
13
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

I am not sure why, but list-files isn't working. My next step would be to add some debugging. This example may help:
```
import logging
from quart import Quart, jsonify

# Configure logging settings
logging.basicConfig(filename='app.log', level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')

app = Quart(__name__)

@app.route('/')
async def index():
# Add an info log message
logging.info('Index route was accessed')
return jsonify({'message': 'Hello, World!'})

@app.route('/error')
async def error():
try:
# Simulate an error
result = 1 / 0
except Exception as e:
# Add an error log message with exception details
logging.error(f'An error occurred: {e}')
return jsonify({'error': 'An error occurred'}), 500

return jsonify({'result': result})

if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=5003)
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The issue identifies the list-files operation but no implementation file or test. Start by locating the list-files entry point and reproducing the failure with logging enabled, using the Quart example as a reference. Done means the operation works and a regression check confirms the expected file listing.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github, python
領域
api, backend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。