We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3093488 commit 0c93e58Copy full SHA for 0c93e58
1 file changed
finance_mcp/core/findata/history_calculate_op.py
@@ -77,7 +77,7 @@ async def async_execute(self):
77
import tushare as ts
78
79
# Initialize the Tushare pro API using the token from environment.
80
- ts.pro_api(token=os.getenv("TUSHARE_API_TOKEN", ""))
+ ts.set_token(token=os.getenv("TUSHARE_API_TOKEN", ""))
81
82
code_prompt: str = self.prompt_format(
83
prompt_name="code_prompt",
0 commit comments