在DictTango【Android,Play Store,v2.3.0.0】中尝试调用xAI。
由于是兼容OpenAI的API,所以选择ChatGPT,填写:
- 接口网址 https://api.x.ai/v1/chat/completions
- 模型 grok-beta
- API Key xai-xxxxxxxxx
尝试运行,但报错404
code: Some requested entity was not found
error: The model gpt-3.50-turbo does not exist or you team …
因为在别的软件中能正常调用xAI的API,所以怀疑是DictTango的模型设置未能生效。
另外也试了下本地大模型的功能,用了QWen的那个小模型进行AI会话,经常一生成文字就停不下来而卡死。感觉还缺少max tokens之类基本的设置。