Update README.md
Browse files
README.md
CHANGED
@@ -48,12 +48,12 @@ history = []
|
|
48 |
query = '你是谁?'
|
49 |
response = model.chat(query, history, tokenizer)
|
50 |
print(response)
|
51 |
-
history.append(query, response)
|
52 |
|
53 |
query = '用Python写一个HTTP server'
|
54 |
response = model.chat(query, history, tokenizer)
|
55 |
print(response)
|
56 |
-
history.append(query, response)
|
57 |
```
|
58 |
|
59 |
开发者也可以通过VS Code与JetBrains插件与CodeShell-7B-Chat交互,详情请参[VSCode插件仓库](https://github.com/WisdomShell/codeshell-vscode)与[IntelliJ插件仓库](https://github.com/WisdomShell/codeshell-intellij)。
|
|
|
48 |
query = '你是谁?'
|
49 |
response = model.chat(query, history, tokenizer)
|
50 |
print(response)
|
51 |
+
history.append((query, response))
|
52 |
|
53 |
query = '用Python写一个HTTP server'
|
54 |
response = model.chat(query, history, tokenizer)
|
55 |
print(response)
|
56 |
+
history.append((query, response))
|
57 |
```
|
58 |
|
59 |
开发者也可以通过VS Code与JetBrains插件与CodeShell-7B-Chat交互,详情请参[VSCode插件仓库](https://github.com/WisdomShell/codeshell-vscode)与[IntelliJ插件仓库](https://github.com/WisdomShell/codeshell-intellij)。
|