Skip to content

Conversation

bindung
Copy link

@bindung bindung commented Feb 5, 2025

No description provided.

@bindung bindung requested review from cozaro and deepblue February 5, 2025 09:01
@bindung
Copy link
Author

bindung commented Feb 5, 2025

(py3.11) ➜  bing_search git:(main) ✗ gptscript --dump-state state_before tool.gpt '{"q":"Kibin"}'
17:59:00 started  [main] [input={"q":"Kibin"}]
17:59:00 sent     [main]
17:59:00 started  [search(2)] [input={"q":"Kibin"}]
2025/02/05 17:59:00 failed to get credentials for tool api.bing.microsoft.comApiKeyAuth: error getting credentials - err: signal: killed, out: ``
(py3.11) ➜  bing_search git:(main) ✗ gptscript --dump-state state_after tool.gpt '{"q":"Kibin"}'
18:00:23 started  [main] [input={"q":"Kibin"}]
18:00:23 sent     [main]
18:00:23 started  [search(2)] [input={"q":"Kibin"}]
2025/02/05 18:00:23 error setting up authentication: did not find the needed environment variables for any of the security options. At least one of these sets of environment variables must be provided: [[GPTSCRIPT_API_BING_MICROSOFT_COM_APIKEYAUTH]]

이전에는 credential store에서 못가져왔다는 오류. 두번째는 ENV에서 못가져왔다는 오류

@bindung
Copy link
Author

bindung commented Feb 5, 2025

Before

{
  "id": "1738745941",
  "program": {
    "name": "tool.gpt",
    "entryToolId": "tool.gpt:Bing Search Tool",
    "toolSet": {
      "https://github.com/raw/gptscript-ai/credential/250cac46479a84aa175c5fe3da5adc57f5c1fa37/tool.gpt:token": {
        "name": "token",
        "modelName": "gpt-4o",
        "internalPrompt": null,
        "arguments": {
          "properties": {
            "env": {

After

{
  "id": "1738746024",
  "program": {
    "name": "tool.gpt",
    "entryToolId": "tool.gpt:Bing Search Tool",
    "toolSet": {
      "openapi.yaml:search": {
        "name": "search",
        "description": "Returns search results for a given query using Bing's search engine.",
        "modelName": "gpt-4o",
        "internalPrompt": null,
        "arguments": {

자동으로 credential/250cac46479a84aa175c5fe3da5adc57f5c1fa37/tool.gpt:token 이 추가되지 않는 모습.

@bindung bindung merged commit 3c34e9a into allganize Feb 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants